develooper Front page | perl.perl5.porters | Postings from December 2008

Re: Possible bug: Perl 5.10.0 does not set $? & 128 when dumpingcore

Thread Previous | Thread Next
From:
Paul Fenwick
Date:
December 16, 2008 20:03
Subject:
Re: Possible bug: Perl 5.10.0 does not set $? & 128 when dumpingcore
Message ID:
494879AB.9020207@perltraining.com.au
G'day Ben,

Firstly, thank-you for an awesome diagnosis of the problem.

Ben Morrow wrote:

[snip]

> The macro that sets $? has changed between 5.8.8 and 5.10.0. 

> This means that if Linux doesn't have a WCOREDUMP macro (or if Configure
> isn't finding it correctly) it won't get coredump status in $?.

Well, that's excellent news for me, even if it's not great news for 5.10.0
users.  IPC::System::Simple already checks for the WCOREDUMP macro, so I can
detect cases where this bug will strike and work around them.

Many thanks,

	Paul

-- 
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training                   | Ph:  +61 3 9354 6001
Perl Training Australia                | Fax: +61 3 9354 2681

Thread Previous | Thread Next


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