Subject: PR/28581 CVS commit: [netbsd-2] src/usr.bin/gzip
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Matthias Scheler <tron@netbsd.org>
List: netbsd-bugs
Date: 04/08/2005 21:35:01
The following reply was made to PR bin/28581; it has been noted by GNATS.
From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/28581 CVS commit: [netbsd-2] src/usr.bin/gzip
Date: Fri, 8 Apr 2005 21:34:49 +0000 (UTC)
Module Name: src
Committed By: tron
Date: Fri Apr 8 21:34:49 UTC 2005
Modified Files:
src/usr.bin/gzip [netbsd-2]: gzip.c
Log Message:
Pull up revision 1.69 via patch (requested by jmc in ticket #1031):
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.29.2.29 -r1.29.2.29.2.1 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.