In message: <[EMAIL PROTECTED]>
            Keith Winstein <[EMAIL PROTECTED]> writes:
: The GNU C library includes a leap-second table in its timezone/leapseconds
: file in the source package. This gets compiled in to the "right" (that is,
: non-POSIX) zoneinfo files in, e.g., /usr/share/zoneinfo/right/... .
:
: If your users have an up-to-date GNU libc, they can get the value of
: TAI-UTC at any point since 1970 using C library functions. Here's a sample
: C program that shows how to do it.

The problem with this approach is that it fails to work for long
running programs that need to know about leapseconds.  The zonefiles
aren't re-read when they change, and even if they were, updating the
zonefiles to keep them up to date presents some interesting
challanges.

Warner

Reply via email to