[pkg-ntp-maintainers] Bug#515246: ntpdate: unclear when settimeofday() is used
Jakub Wilk
ubanus at users.sf.net
Mon Mar 23 15:52:05 UTC 2009
* Jakub Wilk <ubanus at users.sf.net>, 2009-02-15, 10:53:
> ntpdate manual page contradicts itself w.r.t. when the settimeofday()
> routine is used to set time:
The actual limit is 0.5 s:
$ grep -B5 NTPDATE_THRESHOLD ntpdate/ntpdate.h
/*
* ntpdate will make a long adjustment using adjtime() if the times
* are close, or step the time if the times are farther apart. The
* following defines what is "close".
*/
#define NTPDATE_THRESHOLD (FP_SECOND >> 1) /* 1/2 second */
--
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntpdate-500ms.diff
Type: text/x-diff
Size: 770 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20090323/1b064ef6/attachment.diff
More information about the pkg-ntp-maintainers
mailing list