[csw-devel] SF.net SVN: gar:[20300] csw/mgar/gar/v2/bin/pcopy
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Tue Feb 12 14:55:51 CET 2013
Revision: 20300
http://gar.svn.sourceforge.net/gar/?rev=20300&view=rev
Author: dmichelsen
Date: 2013-02-12 13:55:51 +0000 (Tue, 12 Feb 2013)
Log Message:
-----------
mGAR v2: Keep mtime and atime on merge
Modified Paths:
--------------
csw/mgar/gar/v2/bin/pcopy
Modified: csw/mgar/gar/v2/bin/pcopy
===================================================================
--- csw/mgar/gar/v2/bin/pcopy 2013-02-11 18:30:12 UTC (rev 20299)
+++ csw/mgar/gar/v2/bin/pcopy 2013-02-12 13:55:51 UTC (rev 20300)
@@ -159,6 +159,7 @@
} else {
copy( $whole, $todir . '/' . $target ) or print "Copy failed\n";
chmod( $mode, $todir . '/' . $target );
+ utime $atime, $mtime, $todir . '/' . $target;
$hardlinks{$ino} = $todir . '/' . $target;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list