From 008b221da9175cbc96e1f98438cbf13cc3402f6c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 27 May 2002 16:43:00 +0000 Subject: [PATCH] *** empty log message *** --- lib/ChangeLog | 13 ++++++++++++- m4/ChangeLog | 3 +++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 6e84bc5244..8eca734f94 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,7 +1,18 @@ +2002-05-27 Jim Meyering + + Fix a problem seen only on nonconforming systems whereby ls.c's + use of localtime, and then of gettimeofday would cause trouble: + the localtime call used to initialize rpl_gettimeofday's save + mechanism would clobber ls's current local time information so + that in any long listing the first file would always be listed + with date 1970-01-01. Analysis by Volker Borchert. + + * gettimeofday.c (localtime): Undefine. + (rpl_localtime): New function. + 2002-05-22 Jim Meyering * Makefile.am (libfetish_a_SOURCES): Add file-type.c and file-type.h. - * file-type.h: New file. * file-type.c (file_type): New file/function. Extracted from diffutils. diff --git a/m4/ChangeLog b/m4/ChangeLog index 8d0596fe88..81a9aeaf56 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,5 +1,8 @@ 2002-05-27 Jim Meyering + * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace + localtime. + * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to use the replacement function; it wouldn't resolve at link time. Reported by Volker Borchert. -- 2.30.2