summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-12-05 16:19:43 (GMT)
committerBrad King <brad.king@kitware.com>2003-12-05 16:19:43 (GMT)
commit9ce4e23715946dd56a7c2edc989982509d5fb164 (patch)
tree2f2c709a7c3e93ddd65a59e5d6325c6f0645744f
parentf791e1a80b4f42527b09c2de8635db121ddcb4bd (diff)
downloadCMake-9ce4e23715946dd56a7c2edc989982509d5fb164.zip
CMake-9ce4e23715946dd56a7c2edc989982509d5fb164.tar.gz
CMake-9ce4e23715946dd56a7c2edc989982509d5fb164.tar.bz2
BUG: Process startup-info struct dwFlags were being set incorrectly due to a change in statement order.
-rw-r--r--Source/kwsys/ProcessWin32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c
index a0f8e08..c294122 100644
--- a/Source/kwsys/ProcessWin32.c
+++ b/Source/kwsys/ProcessWin32.c
@@ -821,7 +821,7 @@ void kwsysProcess_Execute(kwsysProcess* cp)
(unsigned short)(cp->HideWindow?SW_HIDE:SW_SHOWDEFAULT);
/* Connect the child's output pipes to the threads. */
- si.StartupInfo.dwFlags = STARTF_USESTDHANDLES;
+ si.StartupInfo.dwFlags |= STARTF_USESTDHANDLES;
/* Create stderr pipe to be shared by all processes in the pipeline.
Neither end is directly inherited. */