diff options
| author | Pierre Joye <pajoye@php.net> | 2010-08-30 09:38:47 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2010-08-30 09:38:47 +0000 |
| commit | 100228aae16c2c8d358c0f0b7a7a07a7b897f1da (patch) | |
| tree | aa3fc9baf693a18e27b9c9333448c6b39593a2ff /ext/zip/php_zip.c | |
| parent | b12d435b14dd795a7f584139f158fd86f08aeaef (diff) | |
| download | php-git-100228aae16c2c8d358c0f0b7a7a07a7b897f1da.tar.gz | |
- use TSRMLS_CC instead of TSRMLS_FETCH in virtual_file_ex
Diffstat (limited to 'ext/zip/php_zip.c')
| -rw-r--r-- | ext/zip/php_zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index bd1275d0f2..5587b9a3be 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -160,7 +160,7 @@ static int php_zip_extract_file(struct zip * za, char *dest, char *file, int fil /* Clean/normlize the path and then transform any path (absolute or relative) to a path relative to cwd (../../mydir/foo.txt > mydir/foo.txt) */ - virtual_file_ex(&new_state, file, NULL, CWD_EXPAND); + virtual_file_ex(&new_state, file, NULL, CWD_EXPAND TSRMLS_CC); path_cleaned = php_zip_make_relative_path(new_state.cwd, new_state.cwd_length); path_cleaned_len = strlen(path_cleaned); |
