From 6d0be3693d2706fe395af6ac4bd092ab2dd90c4a Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Fri, 7 Jul 2000 13:50:49 +0000 Subject: [PATCH] cplus-dem.c (main): fflush() after emitting last char before waiting for input. 2000-07-07 Andrew Haley * cplus-dem.c (main): fflush() after emitting last char before waiting for input. From-SVN: r34902 --- libiberty/ChangeLog | 5 +++++ libiberty/cplus-dem.c | 1 + 2 files changed, 6 insertions(+) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 323a6915a40..5c52fd5fbb1 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2000-07-07 Andrew Haley + + * cplus-dem.c (main): fflush() after emitting last char before + waiting for input. + 2000-06-28 Alex Samuel * cp-demangle.c (demangle_encoding): Accept no substitutions. diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index 44d11968162..81ebbfcbe51 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); } }