From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101638 invoked by alias); 19 Apr 2016 14:04:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 101601 invoked by uid 89); 19 Apr 2016 14:04:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=0297, sk:CYGWIN_, uncompressed, sk:cygwin_ X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 19 Apr 2016 14:04:17 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B633E7D0E2; Tue, 19 Apr 2016 14:04:15 +0000 (UTC) Received: from [10.3.113.21] (ovpn-113-21.phx2.redhat.com [10.3.113.21]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3JE4DMN015955; Tue, 19 Apr 2016 10:04:15 -0400 Subject: Re: gzip-1.7-1 regression: cannot redirect output of gzip -l To: cygwin@cygwin.com, bug-gzip@gnu.org References: <1461059351776.571881.3e60150cb042ecb2c8733407f23d3f30c0d10aa5@spica.telekom.de> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Message-ID: <57163ADD.1080005@redhat.com> Date: Tue, 19 Apr 2016 14:28:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: <1461059351776.571881.3e60150cb042ecb2c8733407f23d3f30c0d10aa5@spica.telekom.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8T9PniCO3xtkCp7r8P0wSl0d8AUTU71rj" X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00466.txt.bz2 --8T9PniCO3xtkCp7r8P0wSl0d8AUTU71rj Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 809 On 04/19/2016 03:49 AM, Christian Franke wrote: > gzip-1.7-1 reports a write error if result of -l is redirected: >=20 > $ uname -srvm > CYGWIN_NT-6.1-WOW 2.5.0(0.297/5/3) 2016-04-11 09:55 i686 >=20 > $ cygcheck -f /bin/gzip > gzip-1.7-1 >=20 > $ echo text | gzip > text.gz >=20 > $ gzip -l text.gz > compressed uncompressed ratio uncompressed_name > 25 5 -40.0% text >=20 > $ 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 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --8T9PniCO3xtkCp7r8P0wSl0d8AUTU71rj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 604 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXFjrdAAoJEKeha0olJ0NqjN0H/Rtu8oRN5aSZ3/oPnX5pxOFm I+lfAbxgm19M0Q0s4GV+VMEL+kkv3bpC4Of4iZfGkwvylgro8VILCh/nvBnDrqLF 4o2nBVVSpxZriYJY52sH0pYO2tl3jen2JVo0T0IXCMRIhnnPCLaIvKIJeoHh+/gm syhxbbScy1cO/ooBqqSYWUD5AzqSSjotyvSokA9LrjF3uE7psB3cBWq+Jd+T1Ps4 XhUu+DnnVZ/msZkykendsPJGVs5Z/pQWI/EiFkoT7NEfXwBpiD5wv17ynC5eCyZd +HTuHnzui3tTJAn376yAiBZZRCFyli+Z4nBrlq11DCGIRRZlvYwI4ZBa2IAfQsU= =gZ3J -----END PGP SIGNATURE----- --8T9PniCO3xtkCp7r8P0wSl0d8AUTU71rj--