summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2005-02-21 09:50:48 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2005-02-21 09:50:48 +0000
commit459313c26ddf92aad34da869a904a4286205ea13 (patch)
treec840b47d67725d508509c11309a0d042eba3165c
parentbf427d4a0d0c00864e167af0583b50169415503b (diff)
downloadphp-git-459313c26ddf92aad34da869a904a4286205ea13.tar.gz
In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG
-rw-r--r--ext/standard/proc_open.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c
index 1417deff52..42356af44f 100644
--- a/ext/standard/proc_open.c
+++ b/ext/standard/proc_open.c
@@ -403,7 +403,11 @@ PHP_FUNCTION(proc_get_status)
}
if (WIFSIGNALED(wstatus)) {
signaled = 1;
+#ifdef NETWARE
+ termsig = WIFTERMSIG(wstatus);
+#else
termsig = WTERMSIG(wstatus);
+#endif
}
if (WIFSTOPPED(wstatus)) {
stopped = 1;