[ntp:bk-ntp-dev-send] BitKeeper patch

Harlan Stenn stenn at mail.eecis.udel.edu
Tue Nov 15 01:59:40 PST 2005


This BitKeeper patch contains the following changesets:
stenn at deacon.udel.edu|ChangeSet|20051115095514|20358

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# ID:	stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
# User:	stenn
# Host:	deacon.udel.edu
# Root:	/deacon/backroom/ntp-dev

#
#--- 1.117/ntpd/ntp_loopfilter.c	2005-10-31 05:25:49 -05:00
#+++ 1.118/ntpd/ntp_loopfilter.c	2005-11-15 04:55:02 -05:00
#@@ -502,7 +502,8 @@
# 	len = ntohl(tai_leap.vallen) / sizeof(u_int32);
# 	if (tpt != NULL) {
# 		for (i = 0; i < len; i++) {
#-			togo = ntohl(tpt[i]) - peer->rec.l_ui;
#+			togo = (long)ntohl(tpt[i]) -
#+			    (long)peer->rec.l_ui;
# 			if (togo > 0) {
# 				if (togo < CLOCK_JUNE)
# 					leap_next |= LEAP_ADDSECOND;
#@@ -593,7 +594,7 @@
# 			tstamp = peer->rec.l_ui - JAN_1970;
# 			tm = gmtime(&tstamp);
# 			if (tm != NULL) {
#-				if ((tm->tm_mon == 6 && tm->tm_mday ==
#+				if ((tm->tm_mon + 1 == 6 && tm->tm_mday ==
# 				    30) || (tm->tm_mon + 1 == 12 &&
# 				    tm->tm_mday == 31)) {
# 					if (leap_next & LEAP_ADDSECOND)
#

# Diff checksum=e999c30f


# Patch vers:	1.3
# Patch type:	REGULAR

== ChangeSet ==
stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
stenn at pogo.udel.edu|ChangeSet|20051110085335|20345
D 1.1438 05/11/15 04:55:14-05:00 stenn at deacon.udel.edu +1 -0
B stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
C
c more tm_mon fixes from Dave Mills
K 20358
P ChangeSet
------------------------------------------------

0a0
> stenn at whimsy.udel.edu|ntpd/ntp_loopfilter.c|19990526004817|01635|3aed0663 stenn at deacon.udel.edu|ntpd/ntp_loopfilter.c|20051115095502|15316

== ntpd/ntp_loopfilter.c ==
stenn at whimsy.udel.edu|ntpd/ntp_loopfilter.c|19990526004817|01635|3aed0663
stenn at deacon.udel.edu|ntpd/ntp_loopfilter.c|20051031102549|14001
D 1.118 05/11/15 04:55:02-05:00 stenn at deacon.udel.edu +3 -2
B stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
C
c more tm_mon fixes from Dave Mills
K 15316
O -rw-rw-r--
P ntpd/ntp_loopfilter.c
------------------------------------------------

D505 1
I505 2
			togo = (long)ntohl(tpt[i]) -
			    (long)peer->rec.l_ui;
D596 1
I596 1
				if ((tm->tm_mon + 1 == 6 && tm->tm_mday ==

# Patch checksum=8cf149c4


More information about the bk-ntp-dev-send mailing list