cvs: php4 /ext/standard exec.c
| From: | Derick Rethans | Date: | Sat, 13 Jan 2001 21:52:09 +0000 |
| Subject: | cvs: php4 /ext/standard exec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3597@lists.php.net to get a copy of this message | ||
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