aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2000-07-07 13:52:53 +0000
committerAndrew Haley <aph@redhat.com>2000-07-07 13:52:53 +0000
commit0473bdf750643bf2bc2bc938c8e50ac009e51a5c (patch)
tree461bc24e1a3da2f31a3c12d9664317e402e374a6 /libiberty
parentcffaa28118e0b3f052508eb542c6bc344fe464a0 (diff)
downloadfsf-binutils-gdb-0473bdf750643bf2bc2bc938c8e50ac009e51a5c.zip
fsf-binutils-gdb-0473bdf750643bf2bc2bc938c8e50ac009e51a5c.tar.gz
fsf-binutils-gdb-0473bdf750643bf2bc2bc938c8e50ac009e51a5c.tar.bz2
2000-07-07 Andrew Haley <aph@cygnus.com>
* cplus-dem.c (main): fflush() after emitting last char before waiting for input.
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/cplus-dem.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index e7bac6d..2460756 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -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
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index 44d1196..81ebbfc 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -4772,6 +4772,7 @@ main (argc, argv)
if (c == EOF)
break;
putchar (c);
+ fflush (stdout);
}
}