Subject: CVS commit: src/usr.bin/gzip
To: None <source-changes@NetBSD.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 04/25/2004 16:20:33
Module Name:	src
Committed By:	mrg
Date:		Sun Apr 25 16:20:33 UTC 2004

Modified Files:
	src/usr.bin/gzip: gzip.1 gzip.c unbzip2.c zuncompress.c

Log Message:
significantly rototill.  don't use the high-level gzio functions
anymore, use the low-level inflate()/deflate() directly.  this
allows support file-type detection on stdin; now can decompress
.Z and .bz2 files fed to stdin (fixes PR#25192) additionally it
makes -v work with stdin or stdout (fixes PR#25215.)

(with these changes, we no longer need gzopenfull(3) in libz.)

thanks to martin@ for the code gzip.c:gz_uncompress() is based on.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/usr.bin/gzip/gzip.1
cvs rdiff -r1.36 -r1.37 src/usr.bin/gzip/gzip.c
cvs rdiff -r1.3 -r1.4 src/usr.bin/gzip/unbzip2.c
cvs rdiff -r1.2 -r1.3 src/usr.bin/gzip/zuncompress.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.