[PATCH] winejoystick.drv: Fix long time consuming task of looking for joysticks

Sebastian Lackner sebastian at fds-team.de
Thu Sep 1 21:37:18 CDT 2016


On 01.09.2016 05:18, Bruno Jesus wrote:
> +    joysticks = scandir(p, &files, filter_js, sort_js);

Usually malloc-like allocations should be avoided in the Wine source. I am
not sure if Alexandre is willing to make an exception in this case because
its only a very small amount of memory - nevertheless, replacing with a
different directory enumeration mechanism should also not be too difficult.

Regards,
Sebastian




More information about the wine-devel mailing list