aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cplus-dem.c
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/cplus-dem.c
parentcffaa28118e0b3f052508eb542c6bc344fe464a0 (diff)
downloadgdb-0473bdf750643bf2bc2bc938c8e50ac009e51a5c.zip
gdb-0473bdf750643bf2bc2bc938c8e50ac009e51a5c.tar.gz
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/cplus-dem.c')
-rw-r--r--libiberty/cplus-dem.c1
1 files changed, 1 insertions, 0 deletions
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);
}
}