]> granicus.if.org Git - php/commitdiff
In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG
authorAnantha Kesari H Y <hyanantha@php.net>
Mon, 21 Feb 2005 09:50:48 +0000 (09:50 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Mon, 21 Feb 2005 09:50:48 +0000 (09:50 +0000)
ext/standard/proc_open.c

index 1417deff52aac2974f40d3005ef32b1f9aa778a1..42356af44ff29064d5fb3f147c9539f3f8cad7d2 100644 (file)
@@ -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;