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

stenn at whimsy.udel.edu stenn at whimsy.udel.edu
Mon Jul 22 10:40:38 UTC 2013


#### ChangeSet ####
2013-07-22 06:39:38-04:00, stenn at deacon.udel.edu
  [Bug 2434] Line-buffer (v. block-buffer) stdout

==== ChangeLog ====
2013-07-22 06:35:50-04:00, stenn at deacon.udel.edu +1 -0
  [Bug 2434] Line-buffer (v. block-buffer) stdout

--- 1.1299/ChangeLog	2013-07-22 05:01:17 -04:00
+++ 1.1300/ChangeLog	2013-07-22 06:35:50 -04:00
@@ -1,5 +1,6 @@
 * [Bug 2368] Correct bug in previous attempt.
 * [Bug 2413] Fix "make check" with automake >= 1.13.
+* [Bug 2434] Line-buffer (v. block-buffer) stdout.
 (4.2.7p374) 2013/07/21 Released by Harlan Stenn <stenn at ntp.org>
 * [Bug 2368] make check troubles in libevent.
 * [Bug 2425] setup SIGIO/SIGPOLL for asyncio on the read side

==== ntpd/ntpd.c ====
2013-07-22 06:35:51-04:00, stenn at deacon.udel.edu +3 -0
  [Bug 2434] Line-buffer (v. block-buffer) stdout

--- 1.144/ntpd/ntpd.c	2013-07-20 04:24:06 -04:00
+++ 1.145/ntpd/ntpd.c	2013-07-22 06:35:51 -04:00
@@ -450,6 +450,9 @@ ntpdmain(
 	parse_cmdline_opts(&argc, &argv);
 # ifdef DEBUG
 	debug = OPT_VALUE_SET_DEBUG_LEVEL;
+#  ifdef HAVE_SETLINEBUF
+	setlinebuf(stdout);
+#  endif
 # endif
 
 	if (HAVE_OPT(NOFORK) || HAVE_OPT(QUIT)


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