diff options
author | Gisle Aas <gisle@aas.no> | 2005-05-18 01:35:47 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-05-18 16:08:30 +0000 |
commit | e5218da503dbb4980410e0018f4cc5dcba3ea666 (patch) | |
tree | 896f8cf586a22fa6f98384571dea2ba73b133df3 /perl.c | |
parent | 6b09c1601036c61459334bdedef5d7e29e07fcaf (diff) | |
download | perl-e5218da503dbb4980410e0018f4cc5dcba3ea666.tar.gz |
Well defined $? and introduction of ${^CHILD_ERROR_NATIVE} [PATCH]
Message-ID: <lr8y2cim24.fsf_-_@caliper.activestate.com>
p4raw-id: //depot/perl@24501
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4806,13 +4806,13 @@ Perl_my_failure_exit(pTHX) #else int exitstatus; if (errno & 255) - STATUS_POSIX_SET(errno); + STATUS_UNIX_SET(errno); else { - exitstatus = STATUS_POSIX >> 8; + exitstatus = STATUS_UNIX >> 8; if (exitstatus & 255) - STATUS_POSIX_SET(exitstatus); + STATUS_UNIX_SET(exitstatus); else - STATUS_POSIX_SET(255); + STATUS_UNIX_SET(255); } #endif my_exit_jump(); |