]> granicus.if.org Git - php/commitdiff
fix ZTS build
authorAntony Dovgal <tony2001@php.net>
Fri, 21 Mar 2008 08:28:09 +0000 (08:28 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 21 Mar 2008 08:28:09 +0000 (08:28 +0000)
ext/standard/exec.c

index c545cfc3c15e572c8f6afc512652444df09c83e4..87e96eda91229e14881a861fee68468c1eda9290 100644 (file)
@@ -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 */