28 May
2024
28 May
'24
9:04 p.m.
Piotr Caban (@piotr) commented about dlls/msvcr80/tests/msvcr80.c:
test_wdupenv_s(); + + winetest_push_context("_MB_CP_SBCS"); + p__setmbcp(_MB_CP_SBCS); + test__mbsncpy_s(); + winetest_pop_context(); + if (!p__setmbcp(936)) + { + winetest_push_context("CP 936"); + test__mbsncpy_s(); + winetest_pop_context(); + } + else + { + skip("Code page 936 is not available.\n"); + }
You're setting the codepage in `test__mbsncpy_s`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5547#note_69244