fits_read_table corrupting something?

From: <rgibson_at_email.domain.hidden>
Date: Wed, 23 Jan 2008 11:14:58 -0500
I am trying to do wget through a system("") call in _isis_version = 10408. 
Let's say I do this wget() by sourcing "tmp1.sl", included below.  As you can
see, t2 is the return code from the system call.

If I source("tmp1.sl") BEFORE I read in a large fits file, the result (t2) is
fine.  If I source("tmp1.sl") immediately after I read in the fits file, the
result is always failure (t2 = -1).  I conclude that reading in the fits file
has somehow damaged an internal state.

Here's the offending line of code:
   variable dR5 = fits_read_table("/users/research/rgibson/work/dr5qso.fits");

The fits file passes fverify:  **** Verification found 0 warning(s) and 0
error(s). ****

Thanks,
Rob



---------------------

tmp1.sl

t0 = "wget -v -d -T 15 --retry-connrefused -o wgetlog.txt -O nED.html
\"http://www.google.com\""; t1 = "";

() = printf("%s\n", t0 + t1);
t2 = system(t0 + t1);
() = printf("t2: %i\n", t2);

----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Wed Jan 23 2008 - 11:15:13 EST

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:45 EDT