bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22900: [platform-testers] new snapshot available: gzip-1.6.42-d6d4


From: Paul Eggert
Subject: bug#22900: [platform-testers] new snapshot available: gzip-1.6.42-d6d4
Date: Sun, 6 Mar 2016 00:23:58 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Assaf Gordon wrote:
On OpenSoalris 5.11, both i86pc and sun4u, test 'zgrep-signal' fails. log 
attached.
(note: no failure on OpenSolaris 5.10).

I looked into this. First I ran into a different problem; several tests failed because my default installation directory (/usr/local/bin) had some nonworking gzip in it, which 'make check' used during its tests. I installed the first attached patch to fix this.

The problem you reported is because Solaris 5.11 uses ksh for /usr/bin/sh, and this ksh has a funky treatment for exit status of programs that die due to signals like SIGPIPE: the exit status is 256 + signal number. Unfortunately 'exit 257' is equivalent to 'exit 1', i.e., when the shell exits it turns the SIGPIPE into some random nonzero status. I installed the second attached patch, which fixed the problem for me.

Attachment: 0001-gzip-remove-__bindir.patch
Description: Text Data

Attachment: 0002-gzip-port-zgrep-to-Solaris-11.2.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]