From: Antony Dovgal Date: Fri, 21 Mar 2008 08:28:09 +0000 (+0000) Subject: fix ZTS build X-Git-Tag: RELEASE_2_0_0a1~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e128a1d885bda90c881bfbdf94c0de5ed86b9001;p=php fix ZTS build --- 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 */