summaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2005-11-17 16:58:27 +0000
committerAndrew Haley <aph@redhat.com>2005-11-17 16:58:27 +0000
commit9d5439bda401d8add87e0f97d007ba7a7d06a768 (patch)
tree58c05e9392eeef3b1456758d87871f870643ed1a /binutils
parent036e3cc7f9388329dec22eb275f054e92893268d (diff)
downloadbinutils-redhat-9d5439bda401d8add87e0f97d007ba7a7d06a768.tar.gz
2005-11-17 Andrew Haley <aph@redhat.com>
* cxxfilt.c (main): Flush ouput at newline.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/cxxfilt.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index e04e13dcc2..c07237d8f1 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-17 Andrew Haley <aph@redhat.com>
+
+ * cxxfilt.c (main): Flush ouput at newline.
+
2005-11-16 Mark Mitchell <mark@codesourcery.com>
* doc/binutils.texi: Include config.texi and @file documentation
diff --git a/binutils/cxxfilt.c b/binutils/cxxfilt.c
index e1ce9825a4..a8ec43ba11 100644
--- a/binutils/cxxfilt.c
+++ b/binutils/cxxfilt.c
@@ -278,6 +278,8 @@ main (int argc, char **argv)
/* Echo the whitespace characters so that the output looks
like the input, only with the mangled names demangled. */
putchar (c);
+ if (c == '\n')
+ fflush (stdout);
}
fflush (stdout);