summaryrefslogtreecommitdiff
path: root/ext/xml/php_xml.h
diff options
context:
space:
mode:
authorSergei Turchanov <turchanov@farpost.com>2019-08-29 17:29:19 +1000
committerNikita Popov <nikita.ppv@gmail.com>2019-12-20 11:22:59 +0100
commitc62cd9a43ad97aa279615b21f7cb5f1646f52d80 (patch)
tree2cf838ada7ac80c90d24f7337faedf1049287902 /ext/xml/php_xml.h
parentcbb0efaeeb265ff8026dee1d049d57a8d2b5c133 (diff)
downloadphp-git-c62cd9a43ad97aa279615b21f7cb5f1646f52d80.tar.gz
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.
Diffstat (limited to 'ext/xml/php_xml.h')
0 files changed, 0 insertions, 0 deletions