summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r--ext/standard/exec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index 3dd541d212..7d538a4335 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -54,8 +54,7 @@ int php_Exec(int type, char *cmd, pval *array, pval *return_value)
#if PHP_SIGCHILD
void (*sig_handler)();
#endif
- PLS_FETCH();
- FLS_FETCH();
+ TSRMLS_FETCH();
buf = (char*) emalloc(EXEC_INPUT_BUF);
if (!buf) {
@@ -458,7 +457,6 @@ PHP_FUNCTION(shell_exec)
int readbytes,total_readbytes=0,allocated_space;
pval **cmd;
char *ret;
- PLS_FETCH();
if (ZEND_NUM_ARGS()!=1 || zend_get_parameters_ex(1,&cmd)==FAILURE) {
WRONG_PARAM_COUNT;