Tweaks utimensat/futimens handling to always update ctime, even when both
authorguenther <guenther@openbsd.org>
Fri, 17 Apr 2015 04:43:20 +0000 (04:43 +0000)
committerguenther <guenther@openbsd.org>
Fri, 17 Apr 2015 04:43:20 +0000 (04:43 +0000)
commit4707cbe35fb28a996a6eab2cd46ba227841d7cb3
tree38d71c6ca803f06cc0ad43c0ba4d970df000517a
parent4765bf4442c7589f284566fe3211f0aacac56b2f
Tweaks utimensat/futimens handling to always update ctime, even when both
atime and mtime are UTIME_OMIT (at least for ufs, tmpfs, and ext2fs), and
to correctly handle a timestamp of -1.

ok millert@
13 files changed:
lib/libc/sys/utimes.2
sys/isofs/cd9660/cd9660_vnops.c
sys/kern/vfs_syscalls.c
sys/miscfs/fuse/fuse_vnops.c
sys/msdosfs/msdosfs_vnops.c
sys/nfs/nfs_subs.c
sys/nfs/nfs_vnops.c
sys/nfs/xdr_subs.h
sys/sys/vnode.h
sys/tmpfs/tmpfs_subr.c
sys/tmpfs/tmpfs_vnops.c
sys/ufs/ext2fs/ext2fs_vnops.c
sys/ufs/ufs/ufs_vnops.c