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.

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to