ntpsec versions

Hal Murray hmurray at megapathdsl.net
Tue Mar 29 19:25:26 UTC 2016


The date string in the version printout is the date/time it was built, not 
the date of the last change in git.  That gives you a useful string if you 
have a sequence of local edits that aren't committed yet.  The git hash is 
there if you want the git info.

You can find version.c in build/main/ntpd/ and friends.

It would be nice if waf was smart enough to recompile version at all the 
right times.  It might miss some case.  I mostly use a script that rm-s the 
build directory so I haven't had problems.

I have another script that lets waf do its thing to save time.  It rm-s the 
version stuff.  I think that used to relink things that didn't change, but I 
just tried it and it skipped the relinking.  Maybe I was confused.  Maybe 
Amar fixed something.

Speaking of version strings, the current string doesn't include the time zone.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list