strange behaviour from "file -z"

Jeff Johnson jbj at redhat.com
Tue Oct 7 15:19:32 UTC 2003


On Tue, Oct 07, 2003 at 09:20:43AM -0400, Robert P. J. Day wrote:
> 
>   a nitpicky observation, but "file -z" seems to have problems
> with certain compressed files.
> 
>   if i "compress" a short text file, i can run "file -z fred.Z",
> and it will tell me that it's an ASCII text, compressed data 16
> bits file.  so far, so good.
> 
>   but if i capture the output of a command with something like
> 
>   $ ls -l /usr/bin | compress > lsz
> 
> then running "file -z lsz" just sits there.  can anyone explain
> this?  is anyone else even seeing this?
> 

Someone else reported this on irc. Dunno, that problem appeared
to be local mis-compilation of file exec'ing gzip and missing
SIGCHLD if file was short.

Bugzilla with reproducer please.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj at redhat.com (jbj at jbj.org)
Chapel Hill, NC





More information about the fedora-test-list mailing list