On 04/19/2016 08:04 AM, Eric Blake wrote:

> 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

git bisect blames:

e6516c537071ac28b3e8e12439fbaf54bfe4fbd0 is the first bad commit
commit e6516c537071ac28b3e8e12439fbaf54bfe4fbd0
Author: Paul Eggert <egg...@cs.ucla.edu>
Date:   Sat Feb 27 23:58:54 2016 -0800

    gzip: new option --synchronous

    This follows up on the earlier patch to avoid data loss near the
    system crashes.  It makes the new behavior optional, with the
    default off.  See: http://bugs.gnu.org/22768
    * NEWS, doc/gzip.texi (Sample, Invoking gzip), gunzip.in (usage):
    * gzip.1, zcat.in (usage):
    Document this.
    * gzip.c (synchronous): New static var.
    (SYNCHRONOUS_OPTION): New constant.
    (longopts, help, main, treat_file): Add support for --synchronous.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to