From 02aec879c3f740fd190b508f05b1ab9d647382c7 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Thu, 17 Nov 2005 16:58:27 +0000 Subject: [PATCH] 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 e04e13d..c07237d 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 e1ce982..a8ec43b 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); -- 2.7.4