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
..
2019-06-29 13:29:53 +02:00
2016-11-24 19:25:47 +01:00
2018-02-20 21:53:48 +01:00
2016-11-24 14:36:49 +01:00
2016-11-24 14:36:49 +01:00
2016-11-24 17:59:09 +01:00
2018-10-15 04:32:30 +02:00
2018-10-15 04:32:30 +02:00
2018-10-15 04:32:30 +02:00
2018-10-15 04:32:30 +02:00
2016-08-08 18:43:33 +02:00
2018-10-15 04:32:30 +02:00
2018-02-04 23:09:40 +01:00
2018-02-04 23:09:40 +01:00
2016-06-20 12:45:39 +02:00
2019-12-20 11:22:59 +01:00
2016-11-24 14:36:49 +01:00
2016-11-24 14:36:49 +01:00
2016-06-20 12:45:39 +02:00
2016-06-20 12:45:39 +02:00
2018-10-15 04:32:30 +02:00
2018-11-10 20:06:47 +01:00
2018-10-15 04:32:30 +02:00
2016-06-20 12:45:39 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-15 04:32:30 +02:00
2019-06-29 13:30:35 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-07-22 16:41:41 -03:00
2018-10-15 04:32:30 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-02-20 21:53:48 +01:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-12-28 13:25:40 +01:00
2018-12-28 13:25:40 +01:00
2018-10-14 19:45:12 +02:00
2018-02-03 13:54:34 +01:00
2018-07-22 16:41:41 -03:00