This is the mail archive of the
cygwin
mailing list for the Cygwin project.
gzip-1.7-1 regression: cannot redirect output of gzip -l
- From: Christian Franke <Christian dot Franke at t-online dot de>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 19 Apr 2016 11:49:11 +0200 (MEST)
- Subject: gzip-1.7-1 regression: cannot redirect output of gzip -l
- Authentication-results: sourceware.org; auth=none
- Reply-to: Christian Franke <Christian dot Franke at t-online dot de>
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
$ gzip -l text.gz > out
gzip: write error: Bad file descriptor
This breaks (at least) the zforce script.
gzip -c is not affected.
Christian
ï
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple