✘More l_fp excess
Gary E. Miller
gem at rellim.com
Tue Mar 21 03:07:24 UTC 2017
Yo Hal!
I think I see another easy place to kill off another l_fp:
ntpd/ntp_util.c, line 375
get_systime(&now);
filegen_setup(&peerstats, lfpuint(now));
day = lfpuint(now) / 86400 + MJD_1900;
setlfpuint(now, lfpuint(now) % 86400);
All that just to get the MJD and seconds past midnight...
Plus several more similar in that file.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170320/7155ad29/attachment.bin>
More information about the devel
mailing list