Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2006 21:00:46 GMT
From:      Michael Scheidell <scheidell@secnap.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/101123: gzip -l signed value error
Message-ID:  <200607312100.k6VL0kCi009596@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/101123; it has been noted by GNATS.

From: Michael Scheidell <scheidell@secnap.net>
To: bug-followup@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@secnap.net  / 1+561-999-5000, x 1131
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607312100.k6VL0kCi009596>