1 diff -Naur o/indra/llxml/llxmlnode.cpp p/indra/llxml/llxmlnode.cpp
2 --- o/indra/llxml/llxmlnode.cpp 2009-08-17 23:34:39.000000000 +0200
3 +++ p/indra/llxml/llxmlnode.cpp 2009-08-19 19:39:03.000000000 +0200
7 LL_DEBUGS("XMLNode") << "parsing XML file: " << filename << LL_ENDL;
8 + std::string saved_locale = setlocale(LC_ALL,"C");
9 LLFILE* fp = LLFile::fopen(filename, "rb"); /* Flawfinder: ignore */
14 bool rv = parseBuffer(buffer, nread, node, defaults_tree);
16 + setlocale(LC_ALL, saved_locale.c_str() );
20 diff -Naur o/indra/llxml/llxmlparser.cpp p/indra/llxml/llxmlparser.cpp
21 --- o/indra/llxml/llxmlparser.cpp 2009-08-17 23:34:39.000000000 +0200
22 +++ p/indra/llxml/llxmlparser.cpp 2009-08-19 19:40:01.000000000 +0200
27 + std::string saved_locale = setlocale(LC_ALL,"C");
28 LLFILE* file = LLFile::fopen(path, "rb"); /* Flawfinder: ignore */
33 llwarns << mAuxErrorString << llendl;
36 + setlocale(LC_ALL, saved_locale.c_str() );