tim@siedap.UUCP (11/17/86)
I have a problem when calling this version of uucp : static char SccsId[] = "@(#)cico.c 1.7 (UKUUCP) 3/18/86"; It has a "sleep(2)" after the "alarm(0)" at the end of the over+out loop. BUT why oh why has someone added a "sleep(2)" AFTER the over+out loop in ukuucp ? What happens is that ukuucp obediently sleeps at that point - before calling cleanup() and without having set to ignore SIGHUP and SIGINTR. So if I call over X25 and the remote host has a YorkBox and I do NOT sleep - I zip thro' into "cleanup()" and close the line. This hangs up my PAD, which terminates the connection, which I ASSUME (I don't know the YorkBox too well) causes the YorkBox to send a SIGHUP to the calling process (uucico) to inform it of the termination. Since I'm pretty quick this signal arrives DURING the sleep - aborting / crashing uucico. So what you see in the Audit file with -x9 debug is the send and receive of the 'O' message (that works fine) and then nothing more - no exit code message. Since we didn't get as far as cleanup() the LCK file for my machine has not been deleted - so I can't call again until the lockfile has aged past the expiry date. Any ideas for a c l e a n solution, anyone ? Tim Reeves, Siemens A.G., Munich { ...mcvax!unido!ztivax! } siedap!tim