From 9d5439bda401d8add87e0f97d007ba7a7d06a768 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Thu, 17 Nov 2005 16:58:27 +0000 Subject: 2005-11-17 Andrew Haley * cxxfilt.c (main): Flush ouput at newline. --- binutils/ChangeLog | 4 ++++ binutils/cxxfilt.c | 2 ++ 2 files changed, 6 insertions(+) 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 + + * cxxfilt.c (main): Flush ouput at newline. + 2005-11-16 Mark Mitchell * 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); -- cgit v1.2.1