[prev in list] [next in list] [prev in thread] [next in thread]
List: ntp-hackers
Subject: Re: [ntp:hackers] Compiling NTP on ARM
From: Hal Murray <hmurray () megapathdsl ! net>
Date: 2015-04-08 9:41:02
Message-ID: 20150408094102.A4F71406057 () ip-64-139-1-69 ! sjc ! megapath ! net
[Download RAW message or body]
> - if (tvdiff.tv_sec > 0) {
> + if ( abs(tvdiff.tv_sec) == tvdiff.tv_sec ) {
What if tvdiff.tv_sec is 0?
I think you have changed a > to a >=
Since the comment a few lines above says:
* Write old and new time entries in utmp and wtmp if step
* adjustment is greater than one second.
I don't think that is what we want.
--
These are my opinions. I hate spam.
_______________________________________________
hackers mailing list
hackers@lists.ntp.org
http://lists.ntp.org/listinfo/hackers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic