[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23314: gzip-1.7-1 regression: cannot redirect output of gzip -l
From: |
Eric Blake |
Subject: |
bug#23314: gzip-1.7-1 regression: cannot redirect output of gzip -l |
Date: |
Tue, 19 Apr 2016 08:04:13 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
On 04/19/2016 03:49 AM, Christian Franke wrote:
> gzip-1.7-1 reports a write error if result of -l is redirected:
>
> $ uname -srvm
> CYGWIN_NT-6.1-WOW 2.5.0(0.297/5/3) 2016-04-11 09:55 i686
>
> $ cygcheck -f /bin/gzip
> gzip-1.7-1
>
> $ echo text | gzip > text.gz
>
> $ gzip -l text.gz
> compressed uncompressed ratio uncompressed_name
> 25 5 -40.0% text
>
> $ gzip -l text.gz | cat
> gzip: write error: Bad file descriptor
Thanks for the report; I can confirm the problem exists upstream, so I'm
redirecting your report there.
$ ./gzip -l text.gz | cat
./gzip: write error: Bad file descriptor
$ git describe HEAD
v1.7-2-ga420fba
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- bug#23314: gzip-1.7-1 regression: cannot redirect output of gzip -l,
Eric Blake <=