diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-23 20:44:13 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-23 20:44:13 +0000 |
commit | 398491f38184dc9065d81e91833661ce781d4f8b (patch) | |
tree | 52def670d08e23231ffb43307cd753e431a62d9c | |
parent | 557bd55cd23264e2f21e89704ca8534b73ec9471 (diff) | |
download | coreutils-398491f38184dc9065d81e91833661ce781d4f8b.tar.xz |
Minor performance improvements and cleanups for "touch".
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,7 +1,19 @@ -2004-11-20 Paul Eggert <eggert@cs.ucla.edu> +2004-11-23 Paul Eggert <eggert@cs.ucla.edu> * Version 5.3.0. + Minor performance improvements and cleanups for "touch". + * src/touch.c (posix_date): Remove; not needed as a static var. + All uses rewritten. + (touch): Use new futimens function to operate more efficiently + in some cases. Don't stat/fstat existing file when + (!amtime_now && change_times == (CH_ATIME | CH_MTIME)); the + old time stamps aren't needed in that case. + (main): change_times is int, not bool. Simplify test for + change_times. + +2004-11-20 Paul Eggert <eggert@cs.ucla.edu> + * src/install.c (usage): Avoid usage that runs afoul of Docbook translation. Problem reported by Eric S. Raymond. |