]> git.ipfire.org Git - thirdparty/coreutils.git/commit
touch: optimize use of utimens
authorEric Blake <ebb9@byu.net>
Fri, 9 Oct 2009 12:56:03 +0000 (06:56 -0600)
committerEric Blake <ebb9@byu.net>
Sat, 10 Oct 2009 15:14:39 +0000 (09:14 -0600)
commitaeaa6bf7ae1d2f2122d4b7f96578f395f988b1ef
treeaada3316ad5bb7e3481fbcc45f9e061a6d943604
parent82e344ca09dbc3f168ee598749e751373161ce30
touch: optimize use of utimens

* src/touch.c (main): Use UTIME_NOW rather than calling gettime.
(touch): Use UTIME_OMIT rather than stat.
src/touch.c