summaryrefslogtreecommitdiff
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
commit42d24c0fa62fcf5e7e515a01be6fa4f482b40d25 (patch)
tree042e7e4d033e1ed295b60d5b62f74f945a8ea604 /libiberty/cplus-dem.c
parentd312742cee36484424d78785364fb8a06efb9219 (diff)
downloadgdb-42d24c0fa62fcf5e7e515a01be6fa4f482b40d25.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/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 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);
}
}