Re: [PATCH v2 0/2] MR606: msvcp90: Call 'setlocale' before 'mbstowcs_s'
On Wed Aug 17 06:20:22 2022 +0000, Yeshun Ye wrote:
I built the demo by vs2003/vs2005/vs2008, and it printed 'read: ok' for vs2003 building, but printed 'open file failed!' for vs2005/vs2008 buildings. I think "\_MSVCP_VER >= 71" can change to "\_MSVCP_VER >= 80" at least. And I think it's a bug on vs2005/vs2008, do we have to be exactly the same as windows? Why do we keep this bug? I've created MR !673 to fix msvcp71. I've made a mistake while testing it earlier.
The idea is to implement the function as closely to native as possible. Applications may depend on bugs in libraries (and taking into account _Fiopen is an internal function it's not necessarily a bug). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/606#note_6472
participants (1)
-
Piotr Caban (@piotr)