[PATCH v2] packager: Prefer native version

Alexandre Julliard julliard at winehq.org
Tue Jul 10 14:57:30 CDT 2018


André Hentschel <nerv at dawncrow.de> writes:

> Am 10.07.2018 um 19:35 schrieb Alexandre Julliard:
>> André Hentschel <nerv at dawncrow.de> writes:
>> 
>>> From: Sebastian Lackner <sebastian at fds-team.de>
>>>
>>> Signed-off-by: André Hentschel <nerv at dawncrow.de>
>>> ---
>>>  dlls/packager/packager_main.c | 2 ++
>>>  1 file changed, 2 insertions(+)
>>>
>>> diff --git a/dlls/packager/packager_main.c b/dlls/packager/packager_main.c
>>> index c1d194e..af1ee22 100644
>>> --- a/dlls/packager/packager_main.c
>>> +++ b/dlls/packager/packager_main.c
>>> @@ -675,6 +675,8 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
>>>      TRACE("(%p, %u, %p)\n", instance, reason, reserved);
>>>  
>>>      switch(reason){
>>> +        case DLL_WINE_PREATTACH:
>>> +            return FALSE;  /* prefer native version */
>> 
>> What is this needed for?
>> 
>
> It's for https://bugs.winehq.org/show_bug.cgi?id=43472

I don't think that's the correct fix. This is not an issue of the
builtin being incomplete, it's a different dll.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list