Menu

#91 Patch for #377: Fix compilation of user defined functions

Unstable (example)
closed
nobody
None
5
2016-10-19
2015-12-22
No

Bug report #377 now contains a fix. Since it was not automatically converted into a "patch", this is the corresponding "patch" ticket.

Since this bug was reported, the function GDLSub seems to have changed significantly, however there is still a crash with user defined functions:

$ cat gdl.py 
import GDL
a = GDL.function("funktion", 1)
print a
$ cat funktion.pro
function FUNKTION, arg
  return, 1.5
end
$ python gdl.py 
% Compiled module: FUNKTION.
Magick: abort due to signal 11 (SIGSEGV) "Segmentation Fault"...

This is due using the wrong list when getting the function pointer. The attached patch fixes this.

1 Attachments

Discussion

  • giloo

    giloo - 2016-10-19

    patched today.

     
  • giloo

    giloo - 2016-10-19
    • status: open --> closed
     

Log in to post a comment.