From: Andrew Haley Date: Thu, 17 Nov 2005 16:58:27 +0000 (+0000) Subject: 2005-11-17 Andrew Haley X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02aec879c3f740fd190b508f05b1ab9d647382c7;p=binutils-gdb.git 2005-11-17 Andrew Haley * cxxfilt.c (main): Flush ouput at newline. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e04e13dcc24..c07237d8f1f 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 e1ce9825a42..a8ec43ba118 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);