![]() | |||||||||||||
Messages in this thread |
In article <299BBE59294E@rkdvmks1.ngate.uni-regensburg.de> you wrote: >> >> Linux currently inserts a 2nd 59th second, instead of the UTC model of ... >> 58, 59, 60... > The time in the kernel is seconds since the epoch. To insert a second Posix is very unclear about leap seconds. Since you have to be able to calculate the time from the seconds since the epoch I think the best solution is just to stretch the seconds for a minute until we match the official time again. There is some support for 60th and 61st seconds in the C library, but frankly I can't see how that is supposed to work. Would that mean that from then on epoch-seconds have a new translation to universal time? Remember that protocols like NFS transfer epoch-seconds unchanged between machines. If they don't agree on how many seconds there have been since the epoch started it's going to get messy. -- Erik Corry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/faq.html | ||||||||||||
| Last update: 2005-03-22 13:44 [from the cache] ©2003-2008 | |||||||||||||