cvs: php4 /ext/standard exec.c
| From: | Stanislav Malyshev | Date: | Sun, 05 May 2002 17:14:12 +0000 |
| Subject: | cvs: php4 /ext/standard exec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11712@lists.php.net to get a copy of this message | ||
stas Sun May 5 13:14:12 2002 EDT
Modified files:
/php4/ext/standard exec.c
Log:
Return right exit status
Index: php4/ext/standard/exec.c
diff -u php4/ext/standard/exec.c:1.73 php4/ext/standard/exec.c:1.74
--- php4/ext/standard/exec.c:1.73 Thu Apr 25 02:43:11 2002
+++ php4/ext/standard/exec.c Sun May 5 13:14:12 2002
@@ -15,7 +15,7 @@
| Author: Rasmus Lerdorf |
+----------------------------------------------------------------------+
*/
-/* $Id: exec.c,v 1.73 2002/04/25 06:43:11 derick Exp $ */
+/* $Id: exec.c,v 1.74 2002/05/05 17:14:12 stas Exp $ */
#include <stdio.h>
#include "php.h"
@@ -283,7 +283,7 @@
}
}
- php_stream_close(stream);
+ FG(pclose_ret) = php_stream_close(stream);
#if HAVE_SYS_WAIT_H
if (WIFEXITED(FG(pclose_ret))) {