X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; q=dns; s=default; b=YdMT yTCCFA3X2c+QuowbX4EkhdVvOKXiNU9J1e6mMSKkVq9funyw5JY7G/6tf1XTUSnG 6mu184uWciJv8WoAIrZkWL1SHY8M1UKKIFp+OgjdVze8lyrIEB1b0EM3R+eaRtN5 i4OJ9+iFm565yJ4okriKfDHGROb7AFqnpOxYWVs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; s=default; bh=z3ZrZKB8jm /+aucRVhztrf7eYhg=; b=DruP1Y69yisTsLxeO/2aR1446vWXKd8/qYGoSYBeiN SPToyziEgd3VKCK8H0eUL7zKMDD26cbrblFo0m6nbdD8tPd64qwzKZPACf+nXWyG PljAHi7EVthsB2wNPXwo2o8JF0Zo5IrTbtBLLAJSk7DqKNwu0iWPQqZsaxIakq/z E= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Subject: Re: gzip-1.7-1 regression: cannot redirect output of gzip -l To: cygwin AT cygwin DOT com, bug-gzip AT gnu DOT org References: <1461059351776 DOT 571881 DOT 3e60150cb042ecb2c8733407f23d3f30c0d10aa5 AT spica DOT telekom DOT de> From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Message-ID: <57163ADD.1080005@redhat.com> 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 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 --8T9PniCO3xtkCp7r8P0wSl0d8AUTU71rj Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" -----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--