php-src/ext/fileinfo
Niels Dossche b8e734a24e
Fix ZEND_NONSTRING attribute for data_file.c
This broke in CI but not on my local machine because of the different
compiler version. This is because there was an issue in GCC [1] that
caused the attribute to not properly work on multidimensional arrays.
This has since been fixed in GCC 15.
Therefore, we guard the attribute with a version check.

[1] https://gcc.gnu.org/cgit/gcc/commit/?id=afb46540d3921e96c4cd7ba8fa2c8b0901759455
2025-05-28 19:48:59 +02:00
..
libmagic Fix ZEND_NONSTRING attribute for data_file.c 2025-05-28 19:48:59 +02:00
tests Merge branch 'PHP-8.3' into PHP-8.4 2025-04-24 11:27:32 +02:00
config.m4 Add pcre as a configure step dependency to fileinfo (#15349) 2024-08-12 00:17:29 +02:00
config.w32 Add pcre as a configure step dependency to fileinfo (#15349) 2024-08-12 00:17:29 +02:00
create_data_file.php Fix ZEND_NONSTRING attribute for data_file.c 2025-05-28 19:48:59 +02:00
CREDITS It looks like i should've taken joint response on ext/fileinfo long ago 2017-10-11 22:21:34 +02:00
data_file.c Fix ZEND_NONSTRING attribute for data_file.c 2025-05-28 19:48:59 +02:00
fileinfo.c backporting GH-15755 fix. 2024-09-05 02:02:36 +01:00
fileinfo.stub.php Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
fileinfo_arginfo.h Fix registration of internal readonly child classes (#15459) 2024-08-24 12:36:54 +02:00
generate_patch.sh Fail early in *nix build script 2024-11-09 14:09:58 +01:00
libmagic.patch Sync PHP_FILEINFO_UNCOMPRESS #if/ifdef/defined (#14525) 2024-06-10 08:11:25 +02:00
magicdata.patch Fix GH-17039: PHP 8.4: Incorrect MIME content type 2024-12-08 22:47:03 +01:00
Makefile.frag Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
php_fileinfo.h fileinfo: Introduce php_libmagic.* to simplify patch 2022-10-02 03:02:47 +02:00
php_libmagic.c ext/fileinfo: Fix [-Wsign-compare] warnings 2024-06-06 16:18:23 +01:00
php_libmagic.h Remove redundant win32/unistd.h includes (#14533) 2024-06-11 09:47:23 +02:00