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

index cb7e92cc06f50a83198e45e032fb3604f257f096..89cb2f5a5b26f7b1e7e67412f84dc1b9dcf891d8 100644 (file)
@@ -351,6 +351,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 */