2000-07-07 Andrew Haley <aph@cygnus.com>
authorAndrew Haley <aph@redhat.com>
Fri, 7 Jul 2000 13:52:53 +0000 (13:52 +0000)
committerAndrew Haley <aph@redhat.com>
Fri, 7 Jul 2000 13:52:53 +0000 (13:52 +0000)
* cplus-dem.c (main): fflush() after emitting last char before
waiting for input.

libiberty/ChangeLog
libiberty/cplus-dem.c

index e7bac6d47585fc0bc523e1d43246d94947161fc4..2460756ae57630ab9721af57098158500aa6800b 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-07  Andrew Haley  <aph@cygnus.com>
+
+       * cplus-dem.c (main): fflush() after emitting last char before
+       waiting for input.
+
 2000-06-09  Zack Weinberg  <zack@wolery.cumb.org>
 
        * cp-demangle.c (demangle_operator_name): Add spaces before
index 44d119681625e8833fa5a2af0c82178fcf9a8a58..81ebbfcbe51f0a020d56b027d26796c7f9283d54 100644 (file)
@@ -4772,6 +4772,7 @@ main (argc, argv)
          if (c == EOF)
            break;
          putchar (c);
+         fflush (stdout);
        }
     }