Subject: bin/26812: gzip does not correctly record compression level
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <grant@NetBSD.org>
List: netbsd-bugs
Date: 08/31/2004 09:40:53
>Number:         26812
>Category:       bin
>Synopsis:       gzip does not correctly record compression level
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 31 00:05:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD mofo 2.0G NetBSD 2.0G (_mofo_) #10: Tue Jul 20 23:40:18 EST 2004 grant@mofo:/data1/netbsd/current/src/sys/arch/i386/compile/_mofo_ i386
Architecture: i386
Machine: i386
>Description:
usr.bin/gzip as of 20040830 does not seem to record the compression
level (or it records it in a different location to GNU gzip such that
file(1) doesn't see it).

>How-To-Repeat:
% touch blah
% /usr/pkg/bin/gzip -9 blah           (GNU gzip)
% file blah.gz
blah.gz: gzip compressed data, was "blah", from Unix, max compression

% touch blah
% /usr/bin/gzip -9 blah
% file blah.gz
blah.gz: gzip compressed data, was "blah", from Unix
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: