summaryrefslogtreecommitdiff
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
commitbd2fbeb5f389b2ff1feb91ef82d6b89ace922b44 (patch)
tree26c5cdfb34694ecd49851ce80c75196701c7a387 /libiberty
parent42a9b646b7a96a763922f634ea86a38fa0540f74 (diff)
downloadbinutils-redhat-bd2fbeb5f389b2ff1feb91ef82d6b89ace922b44.tar.gz
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 e7bac6d475..2460756ae5 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 44d1196816..81ebbfcbe5 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);
}
}