[Cmake-commits] [cmake-commits] king committed cmProcess.cxx 1.14 1.15
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Sep 11 16:20:27 EDT 2009
Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv1767/Source/CTest
Modified Files:
cmProcess.cxx
Log Message:
Fix new CTest output handling for no newline
When we clear the buffer for an output pipe after returning the last
partial line (without a newline) we need to set the partial line range
to empty. Otherwise the buffer object is left in an inconsistent state.
Index: cmProcess.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmProcess.cxx,v
retrieving revision 1.14
retrieving revision 1.15
diff -C 2 -d -r1.14 -r1.15
*** cmProcess.cxx 11 Sep 2009 16:26:41 -0000 1.14
--- cmProcess.cxx 11 Sep 2009 20:20:24 -0000 1.15
***************
*** 115,118 ****
--- 115,119 ----
{
line.assign(&*this->begin(), this->size());
+ this->First = this->Last = 0;
this->clear();
return true;
More information about the Cmake-commits
mailing list