[LEAPSECS] leap smear

Tony Finch dot at dotat.at
Mon Sep 19 12:17:21 EDT 2011


Warner Losh <imp at bsdimp.com> wrote:

>

> I'm still not convinced that this isn't POSIX compliant behavior. :)


I think it is, since POSIX defines the translation from UTC labels to
time_t values, then says:

The relationship between the actual time of day and the current
value for seconds since the Epoch is unspecified.

(i.e. POSIX clocks don't have to be accurate)

How any changes to the value of seconds since the Epoch are made
to align to a desired relationship with the current actual time
is implementation-defined.

(i.e. a POSIX implementation should have some documented way of adjusting
its clock)

Tony.
--
f.anthony.n.finch <dot at dotat.at> http://dotat.at/
Lundy, Fastnet, Irish Sea: Southwest 5 to 7, increasing gale 8 for a time in
Irish Sea, then veering west or northwest 4 or 5. Moderate or rough,
occasionally slight in Irish Sea. Occasional rain. Moderate or good,
occasionally poor.


More information about the LEAPSECS mailing list