From 398491f38184dc9065d81e91833661ce781d4f8b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 23 Nov 2004 20:44:13 +0000 Subject: Minor performance improvements and cleanups for "touch". --- ChangeLog | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ed1b05a3c..975522a73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,19 @@ -2004-11-20 Paul Eggert +2004-11-23 Paul Eggert * 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 + * src/install.c (usage): Avoid usage that runs afoul of Docbook translation. Problem reported by Eric S. Raymond. -- cgit v1.2.3-70-g09d2