cvs: php-src /ext/standard exec.c
| From: | Felipe Pena | Date: | Tue, 18 Mar 2008 00:32:58 +0000 |
| Subject: | cvs: php-src /ext/standard exec.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-49171@lists.php.net to get a copy of this message | ||
felipe Tue Mar 18 00:32:58 2008 UTC
Modified files:
/php-src/ext/standard exec.c
Log:
Fix build
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/exec.c?r1=1.127&r2=1.128&diff_format=u
Index: php-src/ext/standard/exec.c
diff -u php-src/ext/standard/exec.c:1.127 php-src/ext/standard/exec.c:1.128
--- php-src/ext/standard/exec.c:1.127 Mon Mar 17 23:02:35 2008
+++ php-src/ext/standard/exec.c Tue Mar 18 00:32:58 2008
@@ -16,7 +16,7 @@
| Ilia Alshanetsky <iliaa@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: exec.c,v 1.127 2008/03/17 23:02:35 iliaa Exp $ */
+/* $Id: exec.c,v 1.128 2008/03/18 00:32:58 felipe Exp $ */
#include <stdio.h>
#include "php.h"
@@ -24,6 +24,7 @@
#include "php_string.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"
@@ -252,6 +253,8 @@
char *cmd;
char *p = NULL;
size_t estimate = (2 * l) + 1;
+
+ TSRMLS_FETCH();
cmd = safe_emalloc(2, l, 1);