summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-11-23 20:44:13 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-11-23 20:44:13 +0000
commit398491f38184dc9065d81e91833661ce781d4f8b (patch)
tree52def670d08e23231ffb43307cd753e431a62d9c
parent557bd55cd23264e2f21e89704ca8534b73ec9471 (diff)
downloadcoreutils-398491f38184dc9065d81e91833661ce781d4f8b.tar.xz
Minor performance improvements and cleanups for "touch".
-rw-r--r--ChangeLog14
1 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ed1b05a3c..975522a73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.