summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/regex
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2016-04-10 15:24:07 +0000
committerjilles <jilles@FreeBSD.org>2016-04-10 15:24:07 +0000
commit2ee68855a4b293251c3d4a0be3ca09aa3a508578 (patch)
tree4a2a93407dad45235e84f9e8adbf567be858cbac /contrib/netbsd-tests/lib/libc/regex
parent4c6d087886754ec231acdbfb74a63d78cd1486d1 (diff)
downloadFreeBSD-src-2ee68855a4b293251c3d4a0be3ca09aa3a508578.zip
FreeBSD-src-2ee68855a4b293251c3d4a0be3ca09aa3a508578.tar.gz
MFC r278817: touch: Fix some subtle bugs related to NULL times fallback:
* Do not subvert vfs.timestamp_precision by reading the time and passing that to utimensat(). Instead, pass UTIME_NOW. A fallback to a NULL times pointer is no longer used. * Do not ignore -a/-m if the user has write access but does not own the file. Leave timestamps unchanged using UTIME_OMIT and do not fall back to a NULL times pointer (which would set both timestamps) if that fails.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/regex')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud