DragonFly BSD
DragonFly commits List (threaded) for 2013-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: touch(1): Reintroduce local changes


From: Francois Tigeot <ftigeot@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 11 Apr 2013 05:23:21 -0700 (PDT)

commit d570d1d81702540e64e765343b4e601352cacdc3
Author: François Tigeot <ftigeot@wolfpond.org>
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
      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.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d570d1d81702540e64e765343b4e601352cacdc3


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]