bin/101123: gzip -l signed value error
Michael Scheidell
scheidell at secnap.net
Mon Jul 31 21:00:47 UTC 2006
The following reply was made to PR bin/101123; it has been noted by GNATS.
From: Michael Scheidell <scheidell at secnap.net>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: bin/101123: gzip -l signed value error
Date: Mon, 31 Jul 2006 16:59:49 -0400
Additional notes: gzip -l thinks its -1604378624
zcat | wc -c sees real size at 80GB
gzip -l /var/livefs/var/ht-850-5.5.gz
compressed uncompr. ratio uncompressed_name
393954905 -1604378624 0.0% /var/livefs/var/ht-850-5.5
0# zcat /var/livefs/var/ht-850-5.5.gz | wc -c
80000000000
near line 1300 in /usr/src/gnu/usr.bin/gzip
I see some %9lu and %9ld
above value is 12 digits long.
if (first_time && method >= 0) {
first_time = 0;
if (verbose) {
printf("method crc date time ");
}
if (!quiet) {
printf("compressed uncompr. ratio uncompressed_name\n");
}
} else if (method < 0) {
if (total_in <= 0 || total_out <= 0) return;
if (verbose) {
printf(" %9lu %9lu ",
total_in, total_out);
} else if (!quiet) {
printf("%9ld %9ld ", total_in, total_out);
--
Michael Scheidell, CTO
SECNAP Network Security / www.secnap.com
scheidell at secnap.net / 1+561-999-5000, x 1131
More information about the freebsd-bugs
mailing list