Hi Bob, I built coreutils-4.5.6 and tried the version of 'date' included with that. Here's what it says:
~/build/gnu/alpha/coreutils-4.5.6/src $ ./date; ./date -u; perl -e 'print scalar(localtime(time())), "\n";' Fre Feb 7 23:57:44 CET 2003 Fre Feb 7 22:58:06 UTC 2003 Fri Feb 7 23:57:44 2003 As both date and perl agree on the local time, it is probably not a problem caused by date. Maybe it's a bug within glibc? Thomas On Friday, 7. Februar 2003 04:49, Bob Proulx wrote: > Thomas Koeller wrote: > > ~/build/gnu/sh-utils-2.0 $ date -u; date > > Son Feb 2 17:13:49 UTC 2003 > > Son Feb 2 18:13:27 CET 2003 > > That is indeed very bizarre. I cannot imagine a situation that would > create such behavior. Can we get a second opinion? Try this: > > date -u; date;perl -e 'print scalar(localtime(time())), "\n";' > > > Is this a bug, or am I missing something? In case it > > matters, I am running Linux kernel version 2.4.20, > > glibc-2.3.1, date is from sh-utils-2.0: > > > > ~/build/gnu/sh-utils-2.0 $ date --version > > date (GNU sh-utils) 2.0 > > Version 2.0 is rather old. But regardless I have not seen anyone > report such behavior with that version. > > If you would be so kind as to test against the current version of date > it would probably help. The latest release of coreutils is here: > > ftp://alpha.gnu.org/gnu/coreutils/ > > Bob _______________________________________________ Bug-sh-utils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-sh-utils
