ucrtbase._mbsncpy_s is used by Marvel vs Capcom when trying to create multiplayer lobby.
The functions are also present in msvcrt (unlike msvcr70, msvcr71) where I didn't add it because it behaves differently: there is at least one weirdness when it doubles the number of characters to copy ('n' parameter, not buffer size). I suppose we don't need to explore and deal with this specific until something needs those functions from msvcrt.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5547
On Sat Apr 13 23:12:20 2024 +0000, Isaac Marovitz wrote:
> I've tried to add the necessary changes based on what I saw for
> `NtQueueApcThread()`, but the compiler isn't happy. Not sure what I'm missing.
you probably just need to run ./tools/make_specfiles
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5497#note_68972