From e128a1d885bda90c881bfbdf94c0de5ed86b9001 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 21 Mar 2008 08:28:09 +0000 Subject: [PATCH] fix ZTS build --- ext/standard/exec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/standard/exec.c b/ext/standard/exec.c index c545cfc3c1..87e96eda91 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -336,6 +336,7 @@ 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 */ -- 2.50.1