Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2017 01:56:11 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317626 - head/contrib/elftoolchain/cxxfilt
Message-ID:  <201705010156.v411uBGM087621@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705010156.v411uBGM087621>