Re: [PATCH] Port functions/shell to Solaris 10

2019-10-14 Thread Andreas Schwab
On Okt 11 2019, Paul Eggert wrote: > 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

Re: [PATCH] Port functions/shell to Solaris 10

2019-10-11 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Fri, Oct 11, 2019 at 4:25 PM Paul Eggert wrote: > 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. Actually this patch fixes the same issue on aix with perl-5.10.1 regards, Dmitry

Re: [PATCH] Port functions/shell to Solaris 10

2019-10-11 Thread Paul Eggert
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

Re: [PATCH] Port functions/shell to Solaris 10

2019-10-10 Thread Paul Smith
On Tue, 2019-10-08 at 15:28 -0700, Paul Eggert wrote: > * tests/scripts/functions/shell: Port exit-status calculation > to Solaris 10 with Perl 5.8.4. Thanks Paul. I had hoped that my attempts to get Perl to tell me what the expected return codes are on the local system would have been

[PATCH] Port functions/shell to Solaris 10

2019-10-08 Thread Paul Eggert
* tests/scripts/functions/shell: Port exit-status calculation to Solaris 10 with Perl 5.8.4. --- tests/scripts/functions/shell | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/scripts/functions/shell b/tests/scripts/functions/shell index 54514e8..93ff7cb 100644 ---