GNOME Bugzilla – Bug 499958
file size displayed incorrectly on .Z file
Last modified: 2007-12-30 11:06:08 UTC
"Steps to reproduce: 1. download ftp://svr-ftp.eng.cam.ac.uk/pub/misc/love_C.ps.Z 2. open in file-roller 3. check the file size Expected result: The actual file is about 320k. Actual result: Displayed as about 17,000,000,000 GB This seems to be a simple display problem, the file still extracts fine. I am using 2.20.1-0ubuntu1 on gutsy." "man gunzip says : The uncompressed size is given as -1 for files not in gzip format, such as compressed .Z files. To get the uncompressed size for such a file, you can use: zcat file.Z | wc -c as the .Z files in in compressed format (using compress command), it is normal that gunzip -l reports -1 as uncompressed size the reported size by fileroller of 17179869184 GB is = 2^34 GB or 2^64 bytes, so maybe the -1 is translated to an unsigned max value in fileroller ? It would probably be better to report "unknown" in stead of an incorrect number?" http://launchpadlibrarian.net/10552010/Screenshot-love_C.ps.Z%20.png
That report has been filled here: https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/164988
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.