summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
committerSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
commit2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch)
tree33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /ext/standard/exec.c
parent3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff)
downloadphp-git-php-5.3.0alpha2.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r--ext/standard/exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index cd4bd61ea2..794a67982f 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -268,7 +268,7 @@ PHPAPI char *php_escape_shell_cmd(char *str)
char *cmd;
char *p = NULL;
size_t estimate = (2 * l) + 1;
-
+
TSRMLS_FETCH();
cmd = safe_emalloc(2, l, 1);
@@ -358,7 +358,6 @@ PHPAPI char *php_escape_shell_arg(char *str)
int x, y = 0, l = strlen(str);
char *cmd;
size_t estimate = (4 * l) + 3;
-
TSRMLS_FETCH();
cmd = safe_emalloc(4, l, 3); /* worst case */