svn commit: r317626 - head/contrib/elftoolchain/cxxfilt
Ed Maste
emaste at FreeBSD.org
Mon May 1 01:56:13 UTC 2017
Author: emaste
Date: Mon May 1 01:56:11 2017
New Revision: 317626
URL: https://svnweb.freebsd.org/changeset/base/317626
Log:
revert r308465: c++filt: flush output after newline
The ELF Tool Chain update to r3520 uses setvbuf to set line buffering.
Sponsored by: The FreeBSD Foundation
Modified:
head/contrib/elftoolchain/cxxfilt/cxxfilt.c
Modified: head/contrib/elftoolchain/cxxfilt/cxxfilt.c
==============================================================================
--- head/contrib/elftoolchain/cxxfilt/cxxfilt.c Mon May 1 01:54:03 2017 (r317625)
+++ head/contrib/elftoolchain/cxxfilt/cxxfilt.c Mon May 1 01:56:11 2017 (r317626)
@@ -189,8 +189,6 @@ main(int argc, char **argv)
if (c == EOF)
break;
putchar(c);
- if (c == '\n')
- fflush(stdout);
} else {
if ((size_t) p >= sizeof(buf) - 1)
warnx("buffer overflowed");
More information about the svn-src-head
mailing list