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
This commit is contained in:
Ed Maste 2017-05-01 01:56:11 +00:00
parent a80379c6d9
commit 42a4fda284
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317626

View File

@ -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");