From 99a1ec6c6dc6270d685e4bcc4ed777260e4d4bdb Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 7 May 2004 12:52:46 -0400 Subject: [PATCH] BUG: make sure the correct state is set for expired processes --- Source/kwsys/ProcessWin32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c index 582772b82..7f3b03ffb 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;