[PATCH] libwine: Fix the init procedure to call __wine_main just like the main laoder does
Martin Storsjö
martin at martin.st
Wed Aug 19 15:54:15 CDT 2020
On Wed, 19 Aug 2020, Alexandre Julliard wrote:
> Martin Storsjo <martin at martin.st> writes:
>
>> This is called if no preloader is available and the loader doesn't
>> find ntdll.so right away.
>>
>> The codepath used normally has seen a fair bit of restructurings
>> in the past few months, while this codepath seems to have been
>> left as things were before.
>
> If the loader doesn't find ntdll.so, then it's assumed that it's an
> older Wine version, that's why it's using the old-style init.
Ah, thanks, that explains it.
> If there's an ntdll.so and libwine finds it but not the loader, that's a
> bug that should be fixed.
Ok, will do.
// Martin
More information about the wine-devel
mailing list