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

Harlan Stenn stenn at whimsy.udel.edu
Sun Aug 19 08:40:33 UTC 2007


#### ChangeSet ####
2007-08-19 08:35:04+00:00, stenn at ntp1.isc.org 
  [Bug 887] Fix error in ntp_types.h (for sizeof int != 4)

==== ChangeLog ====
2007-08-19 08:34:46+00:00, stenn at ntp1.isc.org +1 -0
  [Bug 887] Fix error in ntp_types.h (for sizeof int != 4)

--- 1.97/ChangeLog	2007-08-18 18:09:09 -04:00
+++ 1.98/ChangeLog	2007-08-19 04:34:46 -04:00
@@ -1,3 +1,4 @@
+* [Bug 887] Fix error in ntp_types.h (for sizeof int != 4).
 * Bug 880 bug fixes for Windows build
 * Improve Calysto support.
 * The "revoke" parameter is a crypto command.

==== dot.emacs ====
2007-08-19 08:34:31+00:00, stenn at ntp1.isc.org +4 -3
  updates

--- 1.7/dot.emacs	2001-10-08 21:17:53 -04:00
+++ 1.8/dot.emacs	2007-08-19 04:34:31 -04:00
@@ -1,13 +1,14 @@
-;; This is how Dave Mills likes to see the code formatted.
+;; This is how Dave Mills likes to see the NTP code formatted.
 
 (defconst ntp-c-style
-  '((c-basic-offset . 8)
+  '((c-basic-offset  . 8)
+    (fill-column     . 72)
     (c-offsets-alist . ((arglist-intro	      . +)
 			(case-label	      . *)
 			(statement-case-intro . *)
 			(statement-cont	      . *)
 			(substatement-open    . 0))))
-  "Dave L. Mills; programming style for use with ntp")
+  "David L. Mills; NTP code indentation style")
 
 (defun ntp-c-mode-common-hook ()
   ;; add ntp c style

==== include/ntp_types.h ====
2007-08-19 08:34:47+00:00, stenn at ntp1.isc.org +2 -2
  [Bug 887] Fix error in ntp_types.h (for sizeof int != 4)

--- 1.9/include/ntp_types.h	2007-01-03 16:39:51 -05:00
+++ 1.10/include/ntp_types.h	2007-08-19 04:34:47 -04:00
@@ -44,15 +44,15 @@ typedef unsigned int u_int;
 # endif
 #else /* not sizeof(int) == 4 */
 # if (SIZEOF_LONG == 4)
-# else /* not sizeof(long) == 4 */
 #  ifndef int32
 #   define int32 long
 #  endif
 #  ifndef u_int32
 #   define u_int32 unsigned long
 #  endif
+# else /* not sizeof(long) == 4 */
+#  include "Bletch: what's 32 bits on this machine?"
 # endif /* not sizeof(long) == 4 */
-# include "Bletch: what's 32 bits on this machine?"
 #endif /* not sizeof(int) == 4 */
 
 typedef u_char		ntp_u_int8_t;


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