Re: 22 sec delta for clockspeed ntp

Malte Tancred <[email protected]> Sun, 30 Jun 2002 18:39:33 +0200
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
On saturday, june 29, 2002, at 11:33 , Alex Stevens wrote:
> I have tried that, already. In fact, I tried remaking clockspeed
> altogether. Same problem.

It may not be a problem on the linux version you're using, but
on Mac OS X leapsecs_read.c needs a patch.

I wrote the following on this list some time ago:
> On Tims suggestion I added yet another include to leapsecs_read.c.
> Applying the following changes makes the tests pass on Mac OS X:
>
> 4a5,6
> > #include <stdlib.h>
> > #include <unistd.h>

Without this patch /etc/leapsecs.dat won't be read at all on a
Mac OS X system.

/malte