cvs: php-src(PHP_5_3) /ext/standard exec.c
| From: | Felipe Pena | Date: | Tue, 18 Mar 2008 00:24:21 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/standard exec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-49169@lists.php.net to get a copy of this message | ||
felipe Tue Mar 18 00:24:21 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard exec.c
Log:
Fix build
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/exec.c?r1=1.113.2.3.2.1.2.4&r2=1.113.2.3.2.1.2.5&diff_format=u
Index: php-src/ext/standard/exec.c
diff -u php-src/ext/standard/exec.c:1.113.2.3.2.1.2.4 php-src/ext/standard/exec.c:1.113.2.3.2.1.2.5
--- php-src/ext/standard/exec.c:1.113.2.3.2.1.2.4 Mon Mar 17 23:01:27 2008
+++ php-src/ext/standard/exec.c Tue Mar 18 00:24:21 2008
@@ -16,7 +16,7 @@
| Ilia Alshanetsky <iliaa@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: exec.c,v 1.113.2.3.2.1.2.4 2008/03/17 23:01:27 iliaa Exp $ */
+/* $Id: exec.c,v 1.113.2.3.2.1.2.5 2008/03/18 00:24:21 felipe Exp $ */
#include <stdio.h>
#include "php.h"
@@ -25,6 +25,7 @@
#include "safe_mode.h"
#include "ext/standard/head.h"
#include "ext/standard/file.h"
+#include "basic_functions.h"
#include "exec.h"
#include "php_globals.h"
#include "SAPI.h"
@@ -267,6 +268,8 @@
char *cmd;
char *p = NULL;
size_t estimate = (2 * l) + 1;
+
+ TSRMLS_FETCH();
cmd = safe_emalloc(2, l, 1);