Posted: Sat Aug 27, 2005 1:41 am Post subject: Bug in CDL library v1.8
Dear sir/madam,
After extensive research why an IDL-script did not run on a Linux
machine, but did run on a Solaris machine, I found out that there is a
very very small bug (but annoyingly enough) that causes problems. I am
working with the Client Display Library (CDL) distributed by NOAO
(http://iraf.noao.edu/iraf/web/new_stuff/cdl.html). I have been using
v1.8. The bug is in the file cdl.c. On line 1084 it says in the original
file:
eps_print (psim, fp, pix, nx, nx, 8, 0);
^
while it should say
eps_print (psim, fp, pix, nx, ny, 8, 0);
^
This doesn't cause a segmentation fault on the Solaris machine I
installed it (though the created ps needs adjustment), but on the Linux
(RedHat FC 4) it does. Changing from nx to ny makes a perfect ps file.
Maybe it is a good idea to fix this bug in this release, or the upcoming.
Yours sincerely,
Eduard Westra
Astronomer at Mt. Stromlo Observatory
Research School of Astronomy & Astrophysics
Post generated using Mail2Forum (http://www.mail2forum.com)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum