Subject: CVS commit: src/usr.bin/gzip
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 12/08/2004 06:38:40
Module Name:	src
Committed By:	jmc
Date:		Wed Dec  8 06:38:40 UTC 2004

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

Log Message:
Fixed for PR#28581. If stdin is the input stream, fstat it and check if it's
file. If so, use it's mtime for the mtime in the header. Otherwise use
time(2)'s result instead. Lines up with GNU gzip and RFC 1952 now as well.


To generate a diff of this commit:
cvs rdiff -r1.68 -r1.69 src/usr.bin/gzip/gzip.c

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