iraf-v216 · Code · Issues (50) · Pull requests (81)
iraf.net pull request #60
Fix declaration of cdsmem in rpp
olebole merged 2 commits to iraf-community/iraf
olebole commented on 2017-05-15
This fixes a problem that rpp.e does not work correctly when build with optimization: since cdsmem is initialized everywhere in ratlib as integer mem(1) the C compiler (after f2c) assumes that the variable is not an array, but a pointer to a single variable, and any subsequent write can be replaced by just writing the last value.
It should really be a integer mem(60000) (resp. MEMSIZE in the ratfor source).
This closes #59 and closes #73. The second patch also closes #53.
Commits
Last updated on 2017-11-15