derick Sat Jan 13 13:52:09 2001 EDT
Modified files:
/php4/ext/standard exec.c
Log:
- There was one ret left, changed it to FG(pclose_ret), this fixes the
build
Index: php4/ext/standard/exec.c
diff -u php4/ext/standard/exec.c:1.46 php4/ext/standard/exec.c:1.47
--- php4/ext/standard/exec.c:1.46 Sat Jan 13 05:59:22 2001
+++ php4/ext/standard/exec.c Sat Jan 13 13:52:09 2001
@@ -15,7 +15,7 @@
| Author: Rasmus Lerdorf |
+----------------------------------------------------------------------+
*/
-/* $Id: exec.c,v 1.46 2001/01/13 13:59:22 zeev Exp $ */
+/* $Id: exec.c,v 1.47 2001/01/13 21:52:09 derick Exp $ */
#include <stdio.h>
#include "php.h"
@@ -199,7 +199,7 @@
#if HAVE_SYS_WAIT_H
if (WIFEXITED(FG(pclose_ret))) {
- ret = WEXITSTATUS(FG(pclose_ret));
+ FG(pclose_ret) = WEXITSTATUS(FG(pclose_ret));
}
#endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]