Subject: CVS commit: src/usr.bin/gzip
To: None <>
From: matthew green <>
List: source-changes
Date: 05/25/2004 04:34:40
Module Name:	src
Committed By:	mrg
Date:		Tue May 25 04:34:40 UTC 2004

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

Log Message:
- fix "gzip -t" to not output anything by default.  PR#25507
- fix any decompression on corrupted gzip files.  PR#25508
- ask to overwrite files if we have a tty, rather than failing the
  operation.  PR#25509.
- clean up maybe_err()/maybe_warn(): use maybe_err() only for fatal
  errors.  maybe_warn() is for processing errors.  this allows
  "gzip -d file1.gz file2.gz" to decompress file2.gz even if file1.gz
  is corrupted, etc.
- change the internal compressor/decompressor API to return "-1" on
  failure, not 0.  this allows for 0-sized files to be decompressed

To generate a diff of this commit:
cvs rdiff -r1.45 -r1.46 src/usr.bin/gzip/gzip.c
cvs rdiff -r1.4 -r1.5 src/usr.bin/gzip/unbzip2.c
cvs rdiff -r1.3 -r1.4 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.