1
0
mirror of https://github.com/php/php-src.git synced 2026-04-13 02:52:48 +02:00
Files
archived-php-src/ext/fileinfo/libmagic
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
..
2018-11-04 16:57:55 +01:00
2018-01-03 14:38:00 +01:00
2018-04-29 16:02:08 +02:00
2018-04-29 16:02:08 +02:00
2019-10-28 20:47:44 -07:00
2019-10-28 20:47:44 -07:00
2018-04-29 16:02:08 +02:00
2018-04-29 16:18:59 +02:00
2017-01-05 23:26:20 +01:00
2018-01-04 02:38:32 -02:00
2018-04-29 16:02:08 +02:00
2018-11-05 21:29:35 +01:00
2018-04-29 16:02:08 +02:00
2018-04-29 16:02:08 +02:00
2018-04-29 16:02:08 +02:00
2019-03-08 20:51:09 +01:00
2016-11-24 13:44:04 +01:00