Pivoting

Gary E. Miller gem at rellim.com
Sat Apr 22 20:35:03 UTC 2017


Yo Hal!

On Fri, 21 Apr 2017 22:09:18 -0700
Hal Murray <hmurray at megapathdsl.net> wrote:

> The code in step_systime() is really really ugly.  (to my eye)

Look at how it was, before Eric reverted my code.  I think that
is clean, but further suggestions welcome.  Eric asked no on e touch
that until he reviewed it again.

> It starts by computing the pivot.  It gets the build time as a broken
> down struct, subtracts 10 years, converts back to a time_t.  All that
> can be precomputed.

And unnecessary.

> Does the 10 year step back make any sense?

What ten yeaer step back?

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/20170422/f0a53146/attachment.bin>


More information about the devel mailing list