summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2018-12-02 12:54:19 -0800
committerStanislav Malyshev <stas@php.net>2018-12-02 12:54:19 -0800
commitaabdb71dc3739f5e06916e2a4e24deb37437b1e8 (patch)
treea24db00da9780f7cb0924ea51cb58df076fff41f
parent0382e761d7e435aff2943206cbbd7cb0b66cee27 (diff)
downloadphp-git-aabdb71dc3739f5e06916e2a4e24deb37437b1e8.tar.gz
Fix TSRM signature - php_stream_stat macro has it's own TSRM
-rw-r--r--ext/phar/phar_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c
index 22c7ef4970..77e08c52a5 100644
--- a/ext/phar/phar_object.c
+++ b/ext/phar/phar_object.c
@@ -3665,7 +3665,7 @@ static void phar_add_file(phar_archive_data **pphar, char *filename, int filenam
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