cvs: php-src(PHP_5_0) /ext/standard proc_open.c
| From: | Anantha Kesari H Y | Date: | Fri, 11 Mar 2005 09:01:55 +0000 |
| Subject: | cvs: php-src(PHP_5_0) /ext/standard proc_open.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-30869@lists.php.net to get a copy of this message | ||
hyanantha Fri Mar 11 04:01:55 2005 EDT
Modified files: (Branch: PHP_5_0)
/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.28.2.2&r2=1.28.2.3&ty=u
Index: php-src/ext/standard/proc_open.c
diff -u php-src/ext/standard/proc_open.c:1.28.2.2 php-src/ext/standard/proc_open.c:1.28.2.3
--- php-src/ext/standard/proc_open.c:1.28.2.2 Mon Mar 7 11:19:31 2005
+++ php-src/ext/standard/proc_open.c Fri Mar 11 04:01:52 2005
@@ -15,7 +15,7 @@
| Author: Wez Furlong <wez@thebrainroom.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: proc_open.c,v 1.28.2.2 2005/03/07 16:19:31 iliaa Exp $ */
+/* $Id: proc_open.c,v 1.28.2.3 2005/03/11 09:01:52 hyanantha Exp $ */
#if 0 && (defined(__linux__) || defined(sun) || defined(__IRIX__))
# define _BSD_SOURCE /* linux wants this when XOPEN mode is on */
@@ -398,7 +398,11 @@
}
if (WIFSIGNALED(wstatus)) {
signaled = 1;
+#ifdef NETWARE
+ termsig = WIFTERMSIG(wstatus);
+#else
termsig = WTERMSIG(wstatus);
+#endif
}
if (WIFSTOPPED(wstatus)) {
stopped = 1;