From: Anantha Kesari H Y Date: Mon, 21 Feb 2005 09:50:48 +0000 (+0000) Subject: In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG X-Git-Tag: RELEASE_0_3~290 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=459313c26ddf92aad34da869a904a4286205ea13;p=php In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG --- 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;