[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Remaining critical bugs (IMHO)

21 leap-seconds have been added since 1970. Debian takes them into account,
while POSIX does not. The result is that Debian thinks there have been
21 more seconds between New Years Day 1970 and now than Solaris does. If you
set the time(0) time to be any arbitrary value, Debian should be 21 seconds
behind Solaris when it displays the local time.

Unfortunately, various things break. ext2fs validation software, network
time daemons, etc. So we have little choice but to do it the POSIX way.
About the best thing we can do to explain it is to say that POSIX time
is counting the time since 00:21 Jan 1 1970 GMT, and keep incrementing
that number as leap-seconds are added.

I think POSIX was rather arrogant in intentionally codifying this


Bruce Perens K6BP   Bruce@Pixar.com   510-215-3502
Finger bruce@master.Debian.org for PGP public key.
PGP fingerprint = 88 6A 15 D0 65 D4 A3 A6  1F 89 6A 76 95 24 87 B3 

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: