28 May
2024
28 May
'24
9:04 p.m.
On Tue Apr 30 16:48:38 2024 +0000, Piotr Caban wrote:
It looks like it can be changed to something like: ```c if (!truncate && curlen && !*str[curlen-1]) { *start = 0; return EILSEQ; } ``` I didn't test it so maybe I'm missing something (also it will be easier to test after the tests set locale/codepage as needed). Yes, it works this way, thanks.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5547#note_69236