]> gcc.gnu.org Git - gcc.git/commitdiff
cplus-dem.c (main): fflush() after emitting last char before waiting for input.
authorAndrew Haley <aph@cygnus.com>
Fri, 7 Jul 2000 13:50:49 +0000 (13:50 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Fri, 7 Jul 2000 13:50:49 +0000 (13:50 +0000)
2000-07-07  Andrew Haley  <aph@cygnus.com>

* cplus-dem.c (main): fflush() after emitting last char before
waiting for input.

From-SVN: r34902

libiberty/ChangeLog
libiberty/cplus-dem.c

index 323a6915a4053358637d45961a8318099ec423fa..5c52fd5fbb1ad1cf75ebffb4a45aee111a957a99 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-28  Alex Samuel  <samuel@codesourcery.com>
 
        * cp-demangle.c (demangle_encoding): Accept no substitutions.
index 44d119681625e8833fa5a2af0c82178fcf9a8a58..81ebbfcbe51f0a020d56b027d26796c7f9283d54 100644 (file)
@@ -4772,6 +4772,7 @@ main (argc, argv)
          if (c == EOF)
            break;
          putchar (c);
+         fflush (stdout);
        }
     }
 
This page took 0.074611 seconds and 5 git commands to generate.