php-src/ext/fileinfo
Sergei Turchanov c62cd9a43a Fix #74170: locale information change after mime_content_type
Some functions in libmagic (distributed with fileinfo extension) perform this sequence of calls:
func() {
setlocale(LC_TYPE, "C")
.. do some work ..
setlocale(LC_TYPE, "")
}

It effectively resets LC_TYPE if it that was set before the function call.

To avoid manipulations with current locale at all, the problematic functions
were modified to use locale-independent functions.
2019-12-20 11:22:59 +01:00
..
libmagic Fix #74170: locale information change after mime_content_type 2019-12-20 11:22:59 +01:00
tests Fix #74170: locale information change after mime_content_type 2019-12-20 11:22:59 +01:00
config.m4 Fix AC_RUN_IFELSE calls when cross-compiling 2018-07-30 06:38:59 +02:00
config.w32 Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
create_data_file.php This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-07-25 02:44:58 +00: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 #78183: finfo_file shows wrong mime-type for .tga file 2019-06-29 13:24:52 +02:00
fileinfo.c Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
fileinfo.php typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:52:47 -08:00
libmagic.patch Update libmagic.patch [skip ci] 2019-03-08 21:55:15 +01:00
magicdata.patch Fix #78183: finfo_file shows wrong mime-type for .tga file 2019-06-29 13:24:52 +02:00
Makefile.frag Sync leading and final newlines in source code files 2018-10-14 12:55:24 +02:00
php_fileinfo.h Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00