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.