Subject: CVS commit: src/bin/pax
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 02/21/2003 03:25:12
Module Name: src
Committed By: lukem
Date: Fri Feb 21 01:25:12 UTC 2003
Modified Files:
src/bin/pax: buf_subs.c
Log Message:
When writing (-w) or copying (-rw), and using -M (stdin file list is
mtree(8) specfile), compare the "post write/copy" mtime against the
actual "pre write/copy" mtime instead of the mtime from the specfile.
This prevents warnings such as:
pax: File ./foo was modified during copy to archive
if the file's mtime in the file system is different to what's in the specfile.
(The resultant file will still get the specfile mtime ...)
To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/bin/pax/buf_subs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.