aboutsummaryrefslogtreecommitdiff
path: root/sys/tools
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-04-05 14:01:04 +0000
committerBruce Evans <bde@FreeBSD.org>2002-04-05 14:01:04 +0000
commit32a95d83f9648f944240d013aea949e8a3e03116 (patch)
tree80d44507b99f2bd5a897a600137e0024160eb14b /sys/tools
parent7800211b084c7042e83bb4920c4316534a7cd00a (diff)
downloadsrc-32a95d83f9648f944240d013aea949e8a3e03116.tar.gz
src-32a95d83f9648f944240d013aea949e8a3e03116.zip
Fixed a very old bug in setting timestamps using utimes(2) on msdosfs
files. We didn't clear the update marks when we set the times, so some of the settings were sometimes clobbered with the current time a little later. This caused cp -p even by root to almost always fail to preserve any times despite not reporting any errors in attempting to preserve them. Don't forget to set the archive attribute when we set the read-only attribute. We should only set the archive attribute if we actually change something, but we mostly don't bother avoiding setting it elsewhere, so don't bother here yet. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=93883
Diffstat (limited to 'sys/tools')
0 files changed, 0 insertions, 0 deletions