[cmake-commits] king committed ProcessUNIX.c 1.62 1.63
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Oct 3 10:26:35 EDT 2006
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv7940
Modified Files:
ProcessUNIX.c
Log Message:
BUG: Need to initialize to not use native pipes.
Index: ProcessUNIX.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/ProcessUNIX.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- ProcessUNIX.c 3 Oct 2006 13:10:03 -0000 1.62
+++ ProcessUNIX.c 3 Oct 2006 14:26:32 -0000 1.63
@@ -242,6 +242,14 @@
/* Share stdin with the parent process by default. */
cp->PipeSharedSTDIN = 1;
+ /* No native pipes by default. */
+ cp->PipeNativeSTDIN[0] = -1;
+ cp->PipeNativeSTDIN[1] = -1;
+ cp->PipeNativeSTDOUT[0] = -1;
+ cp->PipeNativeSTDOUT[1] = -1;
+ cp->PipeNativeSTDERR[0] = -1;
+ cp->PipeNativeSTDERR[1] = -1;
+
/* Set initial status. */
cp->State = kwsysProcess_State_Starting;
More information about the Cmake-commits
mailing list