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);