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

Harlan Stenn stenn at deacon.udel.edu
Tue Oct 25 22:32:25 UTC 2011


#### ChangeSet ####
2011-10-25 17:18:33-04:00, perlinger at psp-deb1.ntp.org
  [bug 1995] fixed wrong use of ZERO() macro in ntp_calendar.c

==== ChangeLog ====
2011-10-25 17:18:32-04:00, perlinger at psp-deb1.ntp.org +1 -0
  [bug 1995] fixed wrong use of ZERO() macro in ntp_calendar.c

--- 1.1036/ChangeLog	2011-10-23 06:52:12 -04:00
+++ 1.1037/ChangeLog	2011-10-25 17:18:32 -04:00
@@ -1,3 +1,4 @@
+* [Bug 1995] fix wrong use of ZERO() macro in 'ntp_calendar.c'
 (4.2.7p228) 2011/10/23 Released by Harlan Stenn <stenn at ntp.org>
 * [Bug 1995] add compile time stamp based era unfolding for
   'step_systime()' and necessary support to 'ntp-calendar.c'.

==== libntp/ntp_calendar.c ====
2011-10-25 17:18:32-04:00, perlinger at psp-deb1.ntp.org +1 -1
  [bug 1995] fixed wron use of ZERO() macro in ntp_calendar.c

--- 1.8/libntp/ntp_calendar.c	2011-10-20 22:07:24 -04:00
+++ 1.9/libntp/ntp_calendar.c	2011-10-25 17:18:32 -04:00
@@ -159,7 +159,7 @@ ntpcal_get_build_date(
 	const char *	  cp;
 	u_short		  hour, minute, second, month, day, year;
 	
-	ZERO(jd);
+	ZERO(*jd);
 	jd->year     = 1970;
 	jd->month    = 1;
 	jd->monthday = 1;


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