bug-gzip
[Top][All Lists]
Advanced

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

Re: gzip 1.4 make check error


From: Paul Eggert
Subject: Re: gzip 1.4 make check error
Date: Sun, 07 Nov 2010 23:38:18 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 11/03/2010 08:56 AM, Thomas Schulz wrote:
> gzip 1.4 fails make check when built on Solaris 2.5.1, Solaris 7 & Solaris 8
> using any of the following Sun compilers
> cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2
> cc: Forte Developer 7 C 5.4 2002/03/09
> cc: Sun C 5.8 2005/10/13
> 
> with the message:
> FAIL: tests/zgrep-f

I expect that this is a problem with your shell, not with the C compiler.
Can you please verify this by sending us the first line of "zgrep"?
My guess is that it reads "#!/bin/ksh"; that would probably explain things.
I'll look into writing a fix.  The problem is that the script assumes
that if it makes file descriptor 6 open on a file, then that file descriptor
is inherited by child processes: but POSIX does not guarantee this for the
shell, so the script is not portable to ksh.



reply via email to

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