]> granicus.if.org Git - php/commitdiff
fix zts build
authorAntony Dovgal <tony2001@php.net>
Thu, 13 Mar 2008 09:57:49 +0000 (09:57 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 13 Mar 2008 09:57:49 +0000 (09:57 +0000)
ext/phar/phar.c

index 9217eeeb08dc6f7cc4654d07893ccca5e3f110cb..c5fe9ce7ea26786b09d87e94c0e4ddd9bddc4ef9 100644 (file)
@@ -2615,7 +2615,7 @@ char *phar_resolve_path(const char *filename, int filename_len TSRMLS_DC)
        efree(entry);
        spprintf(&path, MAXPATHLEN, "phar://%s/%s%c%s", arch, PHAR_G(cwd), DEFAULT_DIR_SEPARATOR, PG(include_path));
        efree(arch);
-       ret = php_resolve_path(filename, filename_len, path);
+       ret = php_resolve_path(filename, filename_len, path TSRMLS_CC);
        efree(path);
        return ret;
 #else /* PHP 5.2 */