cvs: php-src /ext/standard proc_open.c
| From: | Anantha Kesari H Y | Date: | Mon, 21 Feb 2005 09:50:48 +0000 |
| Subject: | cvs: php-src /ext/standard proc_open.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30507@lists.php.net to get a copy of this message | ||
hyanantha Mon Feb 21 04:50:48 2005 EDT
Modified files:
/php-src/ext/standard proc_open.c
Log:
In NetWare LibC WTERMSIG is avaliable as WIFTERMSIG
http://cvs.php.net/diff.php/php-src/ext/standard/proc_open.c?r1=1.30&r2=1.31&ty=u
Index: php-src/ext/standard/proc_open.c
diff -u php-src/ext/standard/proc_open.c:1.30 php-src/ext/standard/proc_open.c:1.31
--- php-src/ext/standard/proc_open.c:1.30 Wed Nov 10 14:47:15 2004
+++ php-src/ext/standard/proc_open.c Mon Feb 21 04:50:48 2005
@@ -15,7 +15,7 @@
| Author: Wez Furlong <wez@thebrainroom.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: proc_open.c,v 1.30 2004/11/10 19:47:15 wez Exp $ */
+/* $Id: proc_open.c,v 1.31 2005/02/21 09:50:48 hyanantha Exp $ */
#if 0 && (defined(__linux__) || defined(sun) || defined(__IRIX__))
# define _BSD_SOURCE /* linux wants this when XOPEN mode is on */
@@ -403,7 +403,11 @@
}
if (WIFSIGNALED(wstatus)) {
signaled = 1;
+#ifdef NETWARE
+ termsig = WIFTERMSIG(wstatus);
+#else
termsig = WTERMSIG(wstatus);
+#endif
}
if (WIFSTOPPED(wstatus)) {
stopped = 1;