GNU bug report logs - #52227
gzip bug: gzip -l produces bad ratio

Previous Next

Package: gzip;

Reported by: Austin Corbett <gaustincorbett <at> gmail.com>

Date: Wed, 1 Dec 2021 16:45:01 UTC

Severity: normal

Merged with 17804, 29089, 30935, 30936, 38766, 42965, 48424

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 52227 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Austin Corbett <gaustincorbett <at> gmail.com>
Cc: Petr Stodůlka <pstodulk <at> redhat.com>,
 Mark Adler <madler <at> alumni.caltech.edu>, 52227 <at> debbugs.gnu.org
Subject: Re: bug#52227: gzip bug: gzip -l produces bad ratio
Date: Wed, 1 Dec 2021 15:44:49 -0800
[Message part 1 (text/plain, inline)]
Thanks for reporting the problem.

This by far the most-commonly reported gzip bug, and I'm thinking we 
might as well fix it by decompressing the input and counting bytes, much 
as pigz -lt does. This is slow, but nowadays it seems worth it to reduce 
confusion. Proposed gzip patch attached. (I have not installed this.)
[0001-gzip-gzip-l-now-outputs-accurate-size.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.