From: Ilia Alshanetsky Date: Mon, 7 Mar 2005 16:17:12 +0000 (+0000) Subject: Fixed bug #32210 (proc_get_status() sets "running" always to true). X-Git-Tag: RELEASE_0_3~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c9610fc9d1d9bf8c17b8ea183ddc6480dfdd8eb;p=php Fixed bug #32210 (proc_get_status() sets "running" always to true). --- diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 42356af44f..b86d48217a 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -413,6 +413,8 @@ PHP_FUNCTION(proc_get_status) stopped = 1; stopsig = WSTOPSIG(wstatus); } + } else { + running = 0; } #endif