Re: Rare issue in ignoring padding

2009-10-10 Thread Jim Meyering
Daniel Barkalow wrote: > The code to ignore trailing zeros from: > > * gzip.c (get_method): Don't complain about trailing zeros at > the end of a gzipped file, as they're commonly appended to fill > out a block (e.g. by GNU tar). > > has a rare bug: if there is exactly one t

Rare issue in ignoring padding

2009-10-09 Thread Daniel Barkalow
The code to ignore trailing zeros from: * gzip.c (get_method): Don't complain about trailing zeros at the end of a gzipped file, as they're commonly appended to fill out a block (e.g. by GNU tar). has a rare bug: if there is exactly one trailing zero (because, for example