cvs commit: src/usr.bin/vmstat vmstat.c src/usr.bin/w w.c
M. Warner Losh
imp at bsdimp.com
Fri Oct 21 08:33:55 PDT 2005
In message: <20051021210822.E4739 at delplex.bde.org>
Bruce Evans <bde at zeta.org.au> writes:
: Complain to wollman if this file is not updated. :-)
I can't complain to Wollman if I have a system that's at a customer
site that's been running for a while before the leap second is
announced. Such systems need a way to get and keep a table.
: This is not a problem for times returned by clock_gettime(), since those
: times are in the past.
:
: 64-bit time_t's and/or ints also permit asking the time library to do
: impossible predictions.
It is a problem. If I boot a system today, the authors of the
software still cannot know the example that I gave. Since there's no
leap second table by default, the system may get the answer wrong.
That's what is so evil about leap seconds. You can't plan more than 6
months into the future.
Warner
More information about the cvs-src
mailing list