]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(touch): Only do the fstat if we need to.
authorJim Meyering <jim@meyering.net>
Fri, 7 May 1999 18:44:20 +0000 (18:44 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 7 May 1999 18:44:20 +0000 (18:44 +0000)
commita06a563ea467e28109b277ccc2b55aa3530ab6ba
treea7e72fbc8634e7a1ebd152fa6d8ca31daccee3e7
parent9250d1a34f792da87f56edf5fb15c3e6c8008ff3
(touch): Only do the fstat if we need to.
Resort to calling stat for directories, but only when necessary.
(usage): Mention --no-create.
src/touch.c