[ros-diffs] [cwittich] 33497: don't display all debug data 4 times when using PipeReader class (spotted by janderwald)

cwittich at svn.reactos.org cwittich at svn.reactos.org
Tue May 13 19:17:32 CEST 2008


Author: cwittich
Date: Tue May 13 12:17:31 2008
New Revision: 33497

URL: http://svn.reactos.org/svn/reactos?rev=33497&view=rev
Log:
don't display all debug data 4 times when using PipeReader class (spotted by janderwald)

Modified:
    trunk/reactos/tools/sysreg/pipe_reader.cpp

Modified: trunk/reactos/tools/sysreg/pipe_reader.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/pipe_reader.cpp?rev=33497&r1=33496&r2=33497&view=diff
==============================================================================
--- trunk/reactos/tools/sysreg/pipe_reader.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/sysreg/pipe_reader.cpp [iso-8859-1] Tue May 13 12:17:31 2008
@@ -95,6 +95,7 @@
 			free(buf);
 			return false;
 		}
+		fflush(m_File);
 		string line(buf);
 		lines.push_back(line);
 		return true;



More information about the Ros-diffs mailing list