diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-05-07 16:52:46 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-05-07 16:52:46 (GMT) |
commit | 99a1ec6c6dc6270d685e4bcc4ed777260e4d4bdb (patch) | |
tree | 23c66e72880e20fe7f80e2c3489bacd3bb115200 | |
parent | c1d9c2ce9c9f803a77bff88dd6505aad171178c8 (diff) | |
download | CMake-99a1ec6c6dc6270d685e4bcc4ed777260e4d4bdb.zip CMake-99a1ec6c6dc6270d685e4bcc4ed777260e4d4bdb.tar.gz CMake-99a1ec6c6dc6270d685e4bcc4ed777260e4d4bdb.tar.bz2 |
BUG: make sure the correct state is set for expired processes
-rw-r--r-- | Source/kwsys/ProcessWin32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c index 582772b..7f3b03f 100644 --- a/Source/kwsys/ProcessWin32.c +++ b/Source/kwsys/ProcessWin32.c @@ -1268,6 +1268,7 @@ int kwsysProcess_WaitForData(kwsysProcess* cp, char** data, int* length, { /* The process timeout has expired. Kill the child now. */ kwsysProcess_Kill(cp); + cp->State = kwsysProcess_State_Expired; cp->TimeoutExpired = 1; cp->Killed = 0; return kwsysProcess_Pipe_None; |