[ntp:questions] Re: sntp output for bootstrapping system time

Christopher Nelson cnelson at nycap.rr.com
Tue Nov 22 16:13:44 UTC 2005


Christopher Nelson wrote:
>...
> adjust_time() in my sntp/timing.c contains:
>
>     if (immediate) {
>         errno = 0;
>         /*  if (settimeofday(&new,NULL))
>             fatal(1,"unable to reset current system time",NULL);*/
>     } else {
>         errno = 0;
>        /* if (adjtime(&adjust,&previous))
>             fatal(1,"unable to adjust current system time",NULL);*/
>
> Where the heck did those comment characters come from?  I'm going to
> remove them and see what happens.

ntp-4.2.0.tar.gz has a timing.c with the comments.
ntp-dev-4.2.0b-20051115.tar.gz has a timing.c without.  Whatever the
cause, it's fixed in the current snapshot.




More information about the questions mailing list