[Cmake-commits] [cmake-commits] zach.mullen committed cmProcess.cxx 1.9 1.10

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Sep 4 11:23:42 EDT 2009


Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv32455

Modified Files:
	cmProcess.cxx 
Log Message:
Fixed output as-it-happens issue.  Now displays output as it receives each newline.


Index: cmProcess.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmProcess.cxx,v
retrieving revision 1.9
retrieving revision 1.10
diff -C 2 -d -r1.9 -r1.10
*** cmProcess.cxx	4 Sep 2009 14:16:06 -0000	1.9
--- cmProcess.cxx	4 Sep 2009 15:23:38 -0000	1.10
***************
*** 160,163 ****
--- 160,165 ----
          // Append to the stdout buffer.
        this->StdOutBuffer.insert(this->StdOutBuffer.end(), data, data+length);
+       this->LastOutputPipe = pipe;
+       return pipe;
        }
      else if(pipe == cmsysProcess_Pipe_STDERR)
***************
*** 166,169 ****
--- 168,173 ----
        this->StdErrorBuffer.insert(this->StdErrorBuffer.end(),
                                    data, data+length);
+       this->LastOutputPipe = pipe;
+       return pipe;
        }
      else if(pipe == cmsysProcess_Pipe_None)



More information about the Cmake-commits mailing list