On Thu, Oct 09, 2003 at 05:23:58PM -0000, Doug Sibley wrote: > In perl-5.8.0-55 (and others likely), when I do a perl program: 5.8.0-55 is not a version number used by Perl. It sounds like some number assigned by your operating system vendor. Is this from a Redhat package? > sleep; > exit; # or exit(0); > > then give a SIGALRM to to the process, I always get the exit code of 14 > (from the following c program): I can repeat this with 5.6.0 and 5.8.0 on OS X. > I think this is a bug in perl. Doesn't seem like one to me. The program was killed by a SIGALRM and exited abnormally. Your exit(0) is never reached. perlipc states that Perl "does the default thing" to handle a signal if you don't tell it otherwise. The OS X (ie. BSD) signals(3) man page states that the default action for SIGALRM is to terminate the process. -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern/ I do have a cause though. It is obscenity. I'm for it. -- Tom Lehrer "Smut"Thread Previous