From 0473bdf750643bf2bc2bc938c8e50ac009e51a5c Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Fri, 7 Jul 2000 13:52:53 +0000 Subject: [PATCH] 2000-07-07 Andrew Haley * cplus-dem.c (main): fflush() after emitting last char before waiting for input. --- libiberty/ChangeLog | 5 +++++ libiberty/cplus-dem.c | 1 + 2 files changed, 6 insertions(+) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index e7bac6d4758..2460756ae57 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-09 Zack Weinberg * cp-demangle.c (demangle_operator_name): Add spaces before 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.30.2