diff options
author | Stanislav Malyshev <stas@php.net> | 2018-12-01 21:48:44 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2018-12-01 21:48:44 -0800 |
commit | e614b127124eaadfe0160e679262b51cd7e97076 (patch) | |
tree | afbf2271bf161e92787e1cdbc929e0e95c7b8919 | |
parent | cc84d893c7a6a4b5bf535dcc3c05b578950976b0 (diff) | |
parent | c5869fd1c80bbb823ceca117be66b5e21214fe33 (diff) | |
download | php-git-e614b127124eaadfe0160e679262b51cd7e97076.tar.gz |
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
-rw-r--r-- | ext/phar/phar_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index e4aad18092..f2e65b32f0 100644 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -3655,7 +3655,7 @@ static void phar_add_file(phar_archive_data **pphar, char *filename, size_t file data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_len; } - if (contents_file != NULL && php_stream_stat(contents_file, &ssb TSRMLS_CC) != -1) { + if (contents_file != NULL && php_stream_stat(contents_file, &ssb) != -1) { data->internal_file->flags = ssb.sb.st_mode & PHAR_ENT_PERM_MASK ; } else { #ifndef _WIN32 |