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");
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"