[PATCH] libwine: Fix the init procedure to call __wine_main just like the main laoder does
Alexandre Julliard
julliard at winehq.org
Wed Aug 19 14:34:22 CDT 2020
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.
If there's an ntdll.so and libwine finds it but not the loader, that's a
bug that should be fixed.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list