Subject: CVS commit: othersrc/bootstrap-pkgsrc/pax
To: None <source-changes@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: source-changes
Date: 02/21/2003 12:25:52
Module Name:	othersrc
Committed By:	grant
Date:		Fri Feb 21 10:25:52 UTC 2003

Modified Files:
	othersrc/bootstrap-pkgsrc/pax: buf_subs.c

Log Message:
sync with src:

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.2 -r1.3 othersrc/bootstrap-pkgsrc/pax/buf_subs.c

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