diff options
| author | Anantha Kesari H Y <hyanantha@php.net> | 2005-02-21 09:50:48 +0000 |
|---|---|---|
| committer | Anantha Kesari H Y <hyanantha@php.net> | 2005-02-21 09:50:48 +0000 |
| commit | 459313c26ddf92aad34da869a904a4286205ea13 (patch) | |
| tree | c840b47d67725d508509c11309a0d042eba3165c /ext | |
| parent | bf427d4a0d0c00864e167af0583b50169415503b (diff) | |
| download | php-git-459313c26ddf92aad34da869a904a4286205ea13.tar.gz | |
In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/proc_open.c | 4 |
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; |
