bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gzip -l gives wrong uncompressed file size.


From: Roger McIntyre
Subject: gzip -l gives wrong uncompressed file size.
Date: Tue, 14 Jul 2009 09:51:24 -0400

Ref: SUN Solaris 10 with gzip 1.3.5

The command gzip -l on large files compressed does not give the right 
uncompressed file info...
Here are the details:

Issue: gzip -l displays wrong uncompressed file size.

-rw-r--r--   1 root     root     518241124 Jul 14 07:18 philips12_dump.gz

address@hidden ->cp -p philips12_dump.gz test.gz
address@hidden ->gzip -d test.gz
address@hidden ->ls -l test
-rw-r--r--   1 root     root     6283230996 Jul 14 07:18 test   <- This is the 
real uncompressed file size.

address@hidden ->gzip -l philips12_dump.gz
         compressed        uncompressed  ratio uncompressed_name
          518241124          1988263700  73.9% philips12_dump
address@hidden ->gzip -V
gzip 1.3.5
(2002-09-30)
Copyright 2002 Free Software Foundation
Copyright 1992-1993 Jean-loup Gailly
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H HAVE_LSTAT 
Written by Jean-loup Gailly.
patched for Sun BugIDs 6294656 6283819
patched for CVE-2006-4334, CVE-2006-4335, CVE-2006-4336, CVE-2006-4337, 
CVE-2006-4338


Please let me know if this is fixed in a later revision as I use this command 
to determine if the backups are the right size
(uncompressed)
Thanks
Roger McIntyre
PACS Archive Technologies - Technical Support Engineer
Philips Healthcare Infomatics
address@hidden
address@hidden
Phone- 941-752-3197
Cell - 941-447-4808




reply via email to

[Prev in Thread] Current Thread [Next in Thread]