develooper Front page | perl.perl5.porters | Postings from October 2003

[perl #24174] perl-5.8.0-55 exit bug

Doug Sibley
October 10, 2003 23:45
[perl #24174] perl-5.8.0-55 exit bug
Message ID:
# New Ticket Created by  Doug Sibley 
# Please include the string:  [perl #24174]
# in the subject line of all future correspondence about this issue. 
# <URL: >

In perl-5.8.0-55 (and others likely), when I do a perl program:

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):

#include <stdlib.h>
#include <stdio.h>
int main() {
    int d = system("/");
    printf("%s%d\n","Exit code ", d);

I think this is a bug in perl.
Doug Sibley <> Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About