Commits

king  committed e163ca5

BUG: Need to initialize to not use native pipes.

  • Participants
  • Parent commits ded1bc6
  • Tags ParaView-2-9-October-bp

Comments (0)

Files changed (1)

File GCC_XML/KWSys/ProcessUNIX.c

   /* 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;