From 42a4fda284c351fb672e7f76a442bf0f50e4dc8e Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 1 May 2017 01:56:11 +0000 Subject: [PATCH] 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 --- contrib/elftoolchain/cxxfilt/cxxfilt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/contrib/elftoolchain/cxxfilt/cxxfilt.c b/contrib/elftoolchain/cxxfilt/cxxfilt.c index aef9023ffbb..9a051fb4151 100644 --- a/contrib/elftoolchain/cxxfilt/cxxfilt.c +++ b/contrib/elftoolchain/cxxfilt/cxxfilt.c @@ -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");