[tz] What's "right"?

Fred Gleason fredg at paravelsystems.com
Fri Nov 13 13:40:52 UTC 2020


On Nov 12, 2020, at 18:46, John Haxby <john.haxby at oracle.com> wrote:

> Of course, it gets messy with having, for example, the last second of the year twice and code that cares about the encore second has to work hard to deal with it.   The consequences have been quite far reaching from that original decision: it's one of the reasons clock_gettime() has clocks for finding out whether it's time for lunch and clocks for determining how long lunch actually lasted.   Less prosaically, it's why at least one program that used getttimeofday() as an interval timer panicked when an sub-second interval not so much short as negative.  (The bug is now fixed, but the hideous workarounds are still being employed because no one is sure if it is actually fixed and no one wants to find out one dark and stormy night.)

Ok, I have to ask: what was the program?

And, thank you to all who have been contributing to this intriguing and most illuminating discussion.

Cheers!


|---------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |             Chief Developer             |
|                           |             Paravel Systems             |
|---------------------------------------------------------------------|
|         A room without books is like a body without a soul.         |
|                                                                     |
|                                                         -- Cicero   |
|---------------------------------------------------------------------|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20201113/02e42c92/attachment.html>


More information about the tz mailing list