Skip to content

Commit 09885f7

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
2 parents 1aec05d + cea2770 commit 09885f7

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
@@ -3678,7 +3678,7 @@ static void phar_add_file(phar_archive_data **pphar, char *filename, int filenam
36783678
data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_len;
36793679
}
36803680

3681-
if (contents_file != NULL && php_stream_stat(contents_file, &ssb TSRMLS_CC) != -1) {
3681+
if (contents_file != NULL && php_stream_stat(contents_file, &ssb) != -1) {
36823682
data->internal_file->flags = ssb.sb.st_mode & PHAR_ENT_PERM_MASK ;
36833683
} else {
36843684
#ifndef _WIN32

0 commit comments

Comments
 (0)