[PATCH] xinput1_3: Prefer builtin DLL

Bruno Jesus 00cpxxx at gmail.com
Sun Oct 30 10:04:54 CDT 2016


On Sun, Oct 30, 2016 at 12:37 PM, Filip Frackiewicz
<fjfrackiewicz at gmail.com> wrote:
> Hi Bruno,

Hello, thanks for the email.

> I hope I am not intruding or stating something already known,,,
>
>>-    case DLL_WINE_PREATTACH:
>>-        return FALSE; /* prefer native version */
>      case DLL_PROCESS_ATTACH:
>          DisableThreadLibraryCalls(inst);
>          break;
>
> This code looks different than the patch
> https://bugs.winehq.org/attachment.cgi?id=55851 attached to
> https://bugs.winehq.org/show_bug.cgi?id=41428

If you take a look at the whole function [1] you will see that it
returns TRUE in the end, so there is no need for the "case
DLL_WINE_PREATTACH" any longer.

[1] http://source.winehq.org/source/dlls/xinput1_3/xinput1_3_main.c#0042



More information about the wine-devel mailing list