OK, fixed the undefined value problem (someone else had commented out one of my lines of code). Now the tail end of the strace output is
read(5, "\n2002-02-28\0050.020\0050.020\0050.020\0050."..., 92) = 92
read(5, "\\\0\0?", 4) = 4
read(5, "\n2002-03-05\0050.020\0050.020\0050.020\0050."..., 92) = 92
read(5, "\1\0\0@", 4) = 4
read(5, "\376", 1) = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
write(9, "# dograph version 12:51 2 Novemb"..., 4002) = 4002
close(9) = 0
munmap(0x2aac0000, 4096) = 0
open("/var/MPL/tmp/dailyen/C/CYS04.gp", O_WRONLY|O_CREAT|O_TRUNC, 0666
+ <unfinished ...>
+++ killed by SIGSEGV +++
Thoughts?
Update at 2222: Also tried changing the unless to an open .. || return .. in the extremely unlikely event that that would make a difference. No dice.
--t. alex
"There was supposed to be an earth-shattering kaboom!" --Marvin the Martian
|