summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-03-07 16:17:12 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-03-07 16:17:12 +0000
commit0c9610fc9d1d9bf8c17b8ea183ddc6480dfdd8eb (patch)
tree8d0e06e2adcae82196c9c44de8c4a28c8ddff5fd
parent12e60c9c1ef2d6a5938a5dc648ff252b56b3a85a (diff)
downloadphp-git-0c9610fc9d1d9bf8c17b8ea183ddc6480dfdd8eb.tar.gz
Fixed bug #32210 (proc_get_status() sets "running" always to true).
-rw-r--r--ext/standard/proc_open.c2
1 files changed, 2 insertions, 0 deletions
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