<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/networking/ntpd.c, branch long_paths</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=long_paths</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=long_paths'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-02-07T00:10:55+00:00</updated>
<entry>
<title>*: use is_prefixed_with() where appropriate</title>
<updated>2026-02-07T00:10:55+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2026-02-07T00:10:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9693daaaef1b996d0efc5338cf3707bb6205fee9'/>
<id>urn:sha1:9693daaaef1b996d0efc5338cf3707bb6205fee9</id>
<content type='text'>
function                                             old     new   delta
resume_main                                          560     556      -4
uuidcache_check_device                               107     101      -6
ntp_init                                            1005     997      -8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-18)             Total: -18 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ntpd: set tmx.maxerror properly - avoid STA_UNSYNC</title>
<updated>2025-10-11T21:48:04+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-10-11T21:48:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3ff3cb483db4165a6d1d4d05bb1f957b4fa5a9b4'/>
<id>urn:sha1:3ff3cb483db4165a6d1d4d05bb1f957b4fa5a9b4</id>
<content type='text'>
function                                             old     new   delta
update_local_clock                                   872     951     +79

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ntpd: replace two bb_info_msg's with bb_error_msg</title>
<updated>2025-07-18T08:34:17+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-07-18T08:34:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=27e1fc679e963baf929e9245294088f016f4eee3'/>
<id>urn:sha1:27e1fc679e963baf929e9245294088f016f4eee3</id>
<content type='text'>
All other messages are printed via bb_error_msg in this applet.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ntpd: Raise MAXDIST to 3s for better tolerance and consistency with chrony</title>
<updated>2025-07-01T11:30:40+00:00</updated>
<author>
<name>Michael Glembotzki</name>
<email>m.glembo@gmail.com</email>
</author>
<published>2025-06-17T10:20:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=73c67d75ef6197a5e722ea1f19c30fa79f4de569'/>
<id>urn:sha1:73c67d75ef6197a5e722ea1f19c30fa79f4de569</id>
<content type='text'>
function                                             old     new   delta
select_and_cluster                                  1088    1093      +5

Signed-off-by: Michael Glembotzki &lt;m.glembo@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ntpd: fix a warning on 32-bit arch build</title>
<updated>2023-07-10T15:29:38+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-10T15:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9fc5933b100694174071c7c4697c70095799bfd0'/>
<id>urn:sha1:9fc5933b100694174071c7c4697c70095799bfd0</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Update applet size estimates</title>
<updated>2023-07-10T15:25:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-10T15:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5353df91cba7b397b9407701681708d0a1518df6'/>
<id>urn:sha1:5353df91cba7b397b9407701681708d0a1518df6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ntpd: correct comment: 2^-20 is ~1 microsecond (confused with 10^-20)</title>
<updated>2023-01-18T17:04:22+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-01-18T17:04:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1040f78176c7dad57aadbbd023e8ac094606ac25'/>
<id>urn:sha1:1040f78176c7dad57aadbbd023e8ac094606ac25</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ntpd: fold d_to_tv() into its only caller</title>
<updated>2023-01-18T16:42:17+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-01-18T16:42:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=479bd7af0d24d123326c1ceb447e015e9e2955d7'/>
<id>urn:sha1:479bd7af0d24d123326c1ceb447e015e9e2955d7</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ntpd: correct fixed-&gt;float conversions of fractions</title>
<updated>2023-01-17T16:01:05+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-01-17T16:01:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c344ca6c7f5d8468624ae518d2912d1d9612cb91'/>
<id>urn:sha1:c344ca6c7f5d8468624ae518d2912d1d9612cb91</id>
<content type='text'>
Need to divide by (1&lt;&lt;32), not by (1&lt;&lt;32)-1.
Fraction of 0xffffffff is not 1 whole second.

function                                             old     new   delta
.rodata                                           105264  105268      +4

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ntpd: make NTP client and server Y2036/2038-ready</title>
<updated>2023-01-17T15:48:54+00:00</updated>
<author>
<name>Miroslav Lichvar</name>
<email>mlichvar@redhat.com</email>
</author>
<published>2022-09-16T13:06:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=85acf71d2579ebe4eec05c6f31901adffa700adc'/>
<id>urn:sha1:85acf71d2579ebe4eec05c6f31901adffa700adc</id>
<content type='text'>
The 32-bit integer part of the NTP timestamp overflows in year 2036,
which starts the second NTP era.

Modify the timestamp conversion to shift values between 1900-1970 (in
the first era) to the second era to enable the client to measure its
offset correctly until year 2106 (assuming 64-bit time_t).

Also update the conversion from double used when stepping the clock to
work with 64-bit time_t after reaching the maximum 32-bit value in 2038
and the server conversion to work correctly in the next NTP era.

function                                             old     new   delta
lfp_to_d                                              51      64     +13
step_time                                            326     332      +6
.rodata                                           105260  105264      +4
d_to_lfp                                             100      86     -14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/1 up/down: 23/-14)              Total: 9 bytes

Signed-off-by: Miroslav Lichvar &lt;mlichvar@redhat.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
