]> granicus.if.org Git - php/commitdiff
Fixed bug #32210 (proc_get_status() sets "running" always to true).
authorIlia Alshanetsky <iliaa@php.net>
Mon, 7 Mar 2005 16:17:12 +0000 (16:17 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 7 Mar 2005 16:17:12 +0000 (16:17 +0000)
ext/standard/proc_open.c

index 42356af44ff29064d5fb3f147c9539f3f8cad7d2..b86d48217a899970313b04180114a70308b4f32f 100644 (file)
@@ -413,6 +413,8 @@ PHP_FUNCTION(proc_get_status)
                        stopped = 1;
                        stopsig = WSTOPSIG(wstatus);
                }
+       } else {
+               running = 0;
        }
 #endif