From 04ef60ef534f1325037ee1c6957352e70ae21071 Mon Sep 17 00:00:00 2001 From: aph Date: Fri, 7 Jul 2000 13:50:49 +0000 Subject: [PATCH] 2000-07-07 Andrew Haley * cplus-dem.c (main): fflush() after emitting last char before waiting for input. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34902 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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); } } -- 2.11.0