OSDN Git Service

2005-11-17 Andrew Haley <aph@redhat.com>
authorAndrew Haley <aph@redhat.com>
Thu, 17 Nov 2005 16:58:27 +0000 (16:58 +0000)
committerAndrew Haley <aph@redhat.com>
Thu, 17 Nov 2005 16:58:27 +0000 (16:58 +0000)
        * cxxfilt.c (main): Flush ouput at newline.

binutils/ChangeLog
binutils/cxxfilt.c

index e04e13d..c07237d 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-17  Andrew Haley  <aph@redhat.com>
+
+       * cxxfilt.c (main): Flush ouput at newline.
+
 2005-11-16  Mark Mitchell  <mark@codesourcery.com>
 
        * doc/binutils.texi: Include config.texi and @file documentation
index e1ce982..a8ec43b 100644 (file)
@@ -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);