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: Thomas Schulz
Subject: Re: gzip 1.4 make check error
Date: Tue, 9 Nov 2010 09:58:12 -0500 (EST)

> 
> 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.

The first line in indeed '#!/bin/ksh'.  For what it is worth, /bin also
contains bash, csh, jsh, sh, tcsh & zsh on Solaris 8. Solaris 7 only has
csh, jsh, ksh & sh.

Tom Schulz
Applied Dynamics Intl.
address@hidden



reply via email to

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