Re: GPS Leap Second Scheduled!

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Mon, 07 Sep 1998 08:39:51 -0300


In message <19980907112430.A10806@arbat.com>, Erik Corry writes:
+-----
| 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.
+--->8

POSIX seems to be saying that leap seconds should be ignored. The online
manuals for Solaris claim that it doesn't ignore them. Take your pick. :-/

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering					 KF8NH
carnegie mellon university

- 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