Piotr Caban (@piotr) commented about dlls/msvcrt/tests/file.c:
+struct test_iobuf +{ + char* _ptr; +#ifdef _UCRT + char* _base; + int _cnt; +#else + int _cnt; + char* _base; +#endif + int _flag; + int _file; + int _charbuf; + int _bufsiz; + char* _tmpfname; +}; Lets focus on getting the tests into wine first. In order to test ucrtbase the tests needs to be moved to `dlls/ucrtbase/tests/file.c`. `#ifdef _UCRT` can be removed - the tests are only testing ucrtbase. Please send the tests as separate commit with todo_wine added for failing tests.
The fastio library code linked in the bug uses different _iobuf layout, did layout in ucrtbase change at some point? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5752#note_72104