summaryrefslogtreecommitdiff
path: root/lib/gettimeofday.c
AgeCommit message (Collapse)Author
2002-05-27Fix a problem seen only on nonconforming systems whereby ls.c'sJim Meyering
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. (localtime): Undefine. (rpl_localtime): New function.
2001-11-26Don't include gtod.h.Jim Meyering
(GTOD_init): Remove function. (rpl_gettimeofday): Do its job here instead, rather than aborting.
2001-09-25(rpl_gettimeofday): Declare local variable `result'.Jim Meyering
2001-08-12*** empty log message ***Jim Meyering