|
From: | Paul Eggert |
Subject: | Re: [PATCH] Port functions/shell to Solaris 10 |
Date: | Fri, 11 Oct 2019 13:24:31 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 |
On 10/10/19 3:28 PM, Paul Smith wrote:
Perhaps Perl on Solaris does some magic to convert this non-standard behavior into standard behavior.
Yes, I think it's something along those lines. POSIX doesn't specify how signal numbers and exit statuses are shoehorned into the 'int' status updated by waitpid; apps are supposed to use WEXITSTATUS etc. to retrieve the info from that 'int'. I think that Perl tries to standardize this so that Perl apps just one way to shoehorn. One possibility is that the version of Perl shipped with Solaris is so old that it predates this Perl standardization. It is a bit of a mess.
[Prev in Thread] | Current Thread | [Next in Thread] |