New state of the debug flags

Gary E. Miller gem at rellim.com
Tue Jun 6 22:32:45 UTC 2017


Yo Ian!

On Tue, 6 Jun 2017 17:10:13 -0500
Ian Bruene via devel <devel at ntpsec.org> wrote:

> After consolidating the relevant macros into ntp_debug.h and cleaning
> up all of the simple if(debug)s I have done another grep through the 
> codebase. It appears that there aren't anymore cases where it is
> worth creating a macro for debugging. What's left is either blocks of
> custom computation, code triggered by different symbols, or code not
> repeated enough to be worth changing.

Your changes looked good, and got ntpd under 56k LOC.

If you are interested, you might spend some time looking for other
blocks of repeated code.

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/20170606/f863fced/attachment.bin>


More information about the devel mailing list