9 Aug
2022
9 Aug
'22
5:33 p.m.
Piotr Caban (@piotr) commented about dlls/msvcp60/ios.c:
wchar_t nameW[FILENAME_MAX];
TRACE("(%p %d)\n", name, mode); - + setlocale(LC_ALL, "");
You can't change locale here. It also still fails the test I have attached in last merge request. I was thinking about something like: [0001-msvcp60-Use-MultiByteToWideChar-in-__Fiopen-implementa.txt](/uploads/a8f47e1d09f086e57eeca564029d0a6d/0001-msvcp60-Use-MultiByteToWideChar-in-__Fiopen-implementa.txt) [0002-msvcp90-Use-MultiByteToWideChar-in-_Fiopen-implementat.txt](/uploads/f741c97ea3060a2bef80eea70de6f315/0002-msvcp90-Use-MultiByteToWideChar-in-_Fiopen-implementat.txt) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/606#note_5936