]> 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 21:16:55 +0000 (15:16 -0600)
commit26e8e602a8b5db71b0d6d3c8748fbc1c06095ce5
treea54b5369b9718c64388ce99a871115701fdc4889
parent7280a913a12ebfe33e8cad1b217b84944bbd3681
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