[lkml]   [2009]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [ntpwg] Bug: Status/Summary of slashdot leap-second crash on new years 2008-2009
    Linas Vepstas wrote:
    > Currently, the Linux kernel keeps time in UTC. This means
    > that it must take special actions to tick twice when a leap
    > second comes by.

    Except it doesn't have to tick twice. Refer to in which I show that a time_t (what
    time() returns) counts leap seconds (According to Bernstein this is what
    UTC means), and using zoneinfo, the library processes leap seconds

    I just realised that the Notes in man 2 time are confusing and probably
    unnecessary. Suffice to say that (assuming correctly configured
    zoneinfo) time() returns the number of seconds elapsed since start 1970.

     \ /
      Last update: 2009-01-07 11:07    [W:0.035 / U:22.768 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site