From fbd2655dff8808f0d2bc135a0e9262f944e209f8 Mon Sep 17 00:00:00 2001 From: Anantha Kesari H Y Date: Fri, 11 Mar 2005 09:01:52 +0000 Subject: [PATCH] In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG --- ext/standard/proc_open.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 569f4b2873..1d641f23d2 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -398,7 +398,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; -- 2.50.1