Honor the vfs.timestamp_precision sysctl settings for utimes(path, NULL)
and similar calls. Obtained from: Petr Salinger, Debian GNU/kFreeBSD, Debian bug #489894 MFC after: 3 days
This commit is contained in:
parent
cffae4081c
commit
6e8f2df92e
@ -3134,8 +3134,7 @@ getutimes(usrtvp, tvpseg, tsp)
|
||||
int error;
|
||||
|
||||
if (usrtvp == NULL) {
|
||||
microtime(&tv[0]);
|
||||
TIMEVAL_TO_TIMESPEC(&tv[0], &tsp[0]);
|
||||
vfs_timestamp(&tsp[0]);
|
||||
tsp[1] = tsp[0];
|
||||
} else {
|
||||
if (tvpseg == UIO_SYSSPACE) {
|
||||
|
Loading…
Reference in New Issue
Block a user