]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1650. [bug] dig, nslookup: flush standard out after each command.
authorMark Andrews <marka@isc.org>
Mon, 7 Jun 2004 03:59:08 +0000 (03:59 +0000)
committerMark Andrews <marka@isc.org>
Mon, 7 Jun 2004 03:59:08 +0000 (03:59 +0000)
CHANGES
bin/dig/dig.c
bin/dig/nslookup.c

diff --git a/CHANGES b/CHANGES
index a9f897069f23952ac118bee57046e9ebd9d3074a..1b1bb4d0f8066bb70e95cc59f448e3072b614ca0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+1650.  [bug]           dig, nslookup: flush standard out after each command.
+
 1649.  [bug]           Silence "unexpected non-minimal diff" message.
                        [RT #11206]
 
index 2570232254345670ae009b5c8417921247371258..b401dc72abcef9de085dc94dbee9cd256efddd53 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dig.c,v 1.157.2.15 2004/03/09 06:09:12 marka Exp $ */
+/* $Id: dig.c,v 1.157.2.16 2004/06/07 03:59:08 marka Exp $ */
 
 #include <config.h>
 #include <stdlib.h>
@@ -1330,6 +1330,7 @@ dighost_shutdown(void) {
                return;
        }
 
+       fflush(stdout);
        if (feof(batchfp)) {
                batchname = NULL;
                isc_app_shutdown();
index a01bae4b3edae4dc902a4475afc0639f6e79ecf2..28244b685e47aa73a59b81efcc0a40e53db51bf9 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nslookup.c,v 1.90.2.6 2004/03/09 06:09:13 marka Exp $ */
+/* $Id: nslookup.c,v 1.90.2.7 2004/06/07 03:59:08 marka Exp $ */
 
 #include <config.h>
 
@@ -703,6 +703,7 @@ get_next_command(void) {
        char *ptr, *arg;
        char *input;
 
+       fflush(stdout);
        buf = isc_mem_allocate(mctx, COMMSIZE);
        if (buf == NULL)
                fatal("memory allocation failure");