[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug] gzip -l file size
From: |
m8535 |
Subject: |
[bug] gzip -l file size |
Date: |
Sat, 8 Jun 2002 10:16:20 +0800 (CST) |
Dear Sir,
First, I want to thank you for your great job. :)
However, I found "gzip -l" can't correctly provide
the compressed and uncompressed file size.
For example, if a file has
an uncompressed file size: 48172948600 (2^32 * 11 + 928308344) with
a compressed file size: 7005169525 (2^32 * 2 - 1584765067),
the result of "gzip -l" is:
compressed uncompr. ratio uncompressed_name
-1584765067 928308344 -191.9% 18.d
Therefore, I think this bug may be resolved by "long long int"
variables in C, instead of "long int" variables.
Here is the outcome of "gzip -V":
gzip 1.2.4 (18 Aug 93)
Compilation options:
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H ASMV
Regards,
Woei-Luen, Shyu
- [bug] gzip -l file size,
m8535 <=