Module Name: src Committed By: enami Date: Mon Mar 2 03:17:24 UTC 2015
Modified Files: src/bin/cp: utils.c src/bin/mv: mv.c src/sbin/restore: dirs.c tape.c src/usr.bin/touch: touch.c Log Message: Don't truncate at sub-microsecond while preserving timestamps. One of motivation of this change is to make the behavior of test(1) -nt/ot with preserved copy (like cp -p) closer to the NetBSD 6. Of course whether full timestamps are kept or not depends also on underlying file system. The ifdef added in mv(1) since existing ifdefs was our local change to compile it on solaris (though I couldn't test it): http://mail-index.netbsd.org/tech-userlevel/2014/11/28/msg008831.html To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/bin/cp/utils.c cvs rdiff -u -r1.43 -r1.44 src/bin/mv/mv.c cvs rdiff -u -r1.50 -r1.51 src/sbin/restore/dirs.c cvs rdiff -u -r1.67 -r1.68 src/sbin/restore/tape.c cvs rdiff -u -r1.32 -r1.33 src/usr.bin/touch/touch.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.