nanog mailing list archives

Re: Leap Second planned for 2016


From: Valdis.Kletnieks () vt edu
Date: Sat, 09 Jul 2016 17:12:29 -0400

On Sat, 09 Jul 2016 12:14:03 +0300, Saku Ytti said:

Check the implementation on your PC. This is why code is broken and
people don't even know it's broken. You have to use monotonic time to
measure passage of time, which is not particularly easy to do
portable, in some languages.

It doesn't help that the POSIX standard doesn't represent leap seconds
anyplace, so any elapsed time calculation that crosses a leap second
is guaranteed to be wrong....

Attachment: _bin
Description:


Current thread: