git: touch(1): Reintroduce local changes

Francois Tigeot ftigeot at
Thu Apr 11 05:23:21 PDT 2013

commit d570d1d81702540e64e765343b4e601352cacdc3
Author: François Tigeot <ftigeot at>
Date:   Thu Apr 11 14:06:34 2013 +0200

    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
    * Remove useless and potentially dangerous rw() function which tries to
    update access and modification times by reading and writing the file.

Summary of changes:
 usr.bin/touch/touch.c | 46 ++++++++++++++++++++++++----------------------
 1 file changed, 24 insertions(+), 22 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list