Skip to content

Commit e614b12

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
2 parents cc84d89 + c5869fd commit e614b12

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
@@ -3655,7 +3655,7 @@ static void phar_add_file(phar_archive_data **pphar, char *filename, size_t file
36553655
data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_len;
36563656
}
36573657

3658-
if (contents_file != NULL && php_stream_stat(contents_file, &ssb TSRMLS_CC) != -1) {
3658+
if (contents_file != NULL && php_stream_stat(contents_file, &ssb) != -1) {
36593659
data->internal_file->flags = ssb.sb.st_mode & PHAR_ENT_PERM_MASK ;
36603660
} else {
36613661
#ifndef _WIN32

0 commit comments

Comments
 (0)