Re: [PATCH v32 0/1] MR5752: msvcrt: [PR53960] Fix ucrt has different struct layout than msvcrt
June 4, 2024
10:57 p.m.
On Sun Jun 2 22:59:20 2024 +0000, cqwrteur wrote:
changed this line in [version 22 of the diff](/wine/wine/-/merge_requests/5752/diffs?diff_id=116244&start_sha=f9ce09a15be1de01f4b8f3f2c25cf9c722a4b2d8#1a28d67ae45bfb1e18198f92ca618b484c4e5a63_3144_3149) It was always different in layout. This is a bug for years. UCRT does not have the same layout of FILE compared to msvcrt. However wine just assumes they are the same, which is wrong. MSVC allows you to pass FILE* from a statically linked ucrt to a dynamic linked ucrt provided by the operating system and that is of course causing abi break.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5752#note_72396
660
Age (days ago)
660
Last active (days ago)
0 comments
1 participants
participants (1)
-
cqwrteur (ï¼ trcrsired)