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

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

From:
Doug Sibley
Date:
October 10, 2003 23:45
Subject:
[perl #24174] perl-5.8.0-55 exit bug
Message ID:
rt-24174-65871.10.378272044281@rt.perl.org
# New Ticket Created by  Doug Sibley 
# Please include the string:  [perl #24174]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24174 >


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

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

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

I think this is a bug in perl.
-- 
Doug Sibley <das@decisionsoft.com>





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About