diff options
author | Andrew Haley <aph@redhat.com> | 2005-11-17 16:58:27 +0000 |
---|---|---|
committer | Andrew Haley <aph@redhat.com> | 2005-11-17 16:58:27 +0000 |
commit | 9d5439bda401d8add87e0f97d007ba7a7d06a768 (patch) | |
tree | 58c05e9392eeef3b1456758d87871f870643ed1a /binutils/cxxfilt.c | |
parent | 036e3cc7f9388329dec22eb275f054e92893268d (diff) | |
download | binutils-redhat-9d5439bda401d8add87e0f97d007ba7a7d06a768.tar.gz |
2005-11-17 Andrew Haley <aph@redhat.com>
* cxxfilt.c (main): Flush ouput at newline.
Diffstat (limited to 'binutils/cxxfilt.c')
-rw-r--r-- | binutils/cxxfilt.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |