On Tue Nov 28 11:16:55 2023 +0000, Haoyang Chen wrote:
> Hi,this patch introduces new problems in locales where UNICODE is used.
> Because str single byte \0 does not necessarily terminate the string,
> and thus a stack overflow occurs. And I am using a chinese local set.
> I still found it to be -1 in Windows.
I don't understand the comment. Please create a bug so we can move the discussion there.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4415#note_54074
Hi,this patch introduces new problems in locales where UNICODE is used. Because str single byte \0 does not necessarily terminate the string, and thus a stack overflow occurs. And I am using a chinese local set.
I still found it to be -1 in Windows.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4415#note_54069
This allows initializing locale from Mac locale identifiers like
'zh-Hans-US'. The current implementation recognizes it as 'zh-US'
which isn't a valid locale identifier for Windows.
This patch will try again with the 'lang-script' identifier after
get_win_locale() fails with the 'lang-region' identifier.
--
v4: ntdll/unix: Try harder to fallback to neutral locales.
ntdll/unix: Support to initialize locale from Mac language identifiers with script name.
ntdll/unix: Use different variable names for Mac locales.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4357
--
v2: wined3d: Set d3d 1-9 textures in the state as SRVs.
d3d9: Use wined3d_texture_acquire_identity_srv().
wined3d: Introduce an API for creating an identity SRV on a texture.
wined3d: Release the view's resource after destroying the view.
wined3d: Explicitly bind 0 for a NULL SRV.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4436