freebsd-src/usr.bin/touch
Jilles Tjoelker c004bfb3fe 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.
2016-04-10 15:24:07 +00:00
..
Makefile
touch.1 touch: Add the -d option from POSIX.1-2008. 2012-06-10 14:26:51 +00:00
touch.c MFC r278817: touch: Fix some subtle bugs related to NULL times fallback: 2016-04-10 15:24:07 +00:00