touch(1): Reintroduce local changes
authorFrançois Tigeot <ftigeot@wolfpond.org>
Thu, 11 Apr 2013 12:06:34 +0000 (14:06 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Thu, 11 Apr 2013 12:06:34 +0000 (14:06 +0200)
commitd570d1d81702540e64e765343b4e601352cacdc3
tree94c98eac20b1f3660d21043c11acdb0a25430211
parent4f6844d4ff8fd9f0c231c7ec3371c6c679e18df5
touch(1): Reintroduce local changes

Major changes introduced by the update from FreeBSD:

* Add the 'h' flag to operate on symlinks rather than what they point to.

* Add -A flag to adjust existing time stamps.

* Add the -d option from POSIX.1-2008.
  This is much like -t but with a different format which is ISO8601-like
  and allows fractions of a second.

* Remove the advertising clause from UCB copyrighted files. This
  is in accordance with the information provided at
  ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

* Remove useless and potentially dangerous rw() function which tries to
update access and modification times by reading and writing the file.
usr.bin/touch/touch.c