Skip to content

Commit aabdb71

Browse files
committed
Fix TSRM signature - php_stream_stat macro has it's own TSRM
1 parent 0382e76 commit aabdb71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/phar/phar_object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3665,7 +3665,7 @@ static void phar_add_file(phar_archive_data **pphar, char *filename, int filenam
36653665
data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_len;
36663666
}
36673667

3668-
if (contents_file != NULL && php_stream_stat(contents_file, &ssb TSRMLS_CC) != -1) {
3668+
if (contents_file != NULL && php_stream_stat(contents_file, &ssb) != -1) {
36693669
data->internal_file->flags = ssb.sb.st_mode & PHAR_ENT_PERM_MASK ;
36703670
} else {
36713671
#ifndef _WIN32

0 commit comments

Comments
 (0)