projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0382e76
)
Fix TSRM signature - php_stream_stat macro has it's own TSRM
author
Stanislav Malyshev
<stas@php.net>
Sun, 2 Dec 2018 20:54:19 +0000
(12:54 -0800)
committer
Stanislav Malyshev
<stas@php.net>
Sun, 2 Dec 2018 20:54:19 +0000
(12:54 -0800)
ext/phar/phar_object.c
patch
|
blob
|
history
diff --git
a/ext/phar/phar_object.c
b/ext/phar/phar_object.c
index 22c7ef49707ebc656b3d7566df4c842eef0b2f09..77e08c52a58682574fe3484d09a896be16a38ceb 100644
(file)
--- 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