[PATCH 2/2] ntdll: Replace fstat and lstat with fstatat in get_file_info.

Chip Davis cdavis at codeweavers.com
Sun Aug 29 00:40:26 CDT 2021

August 29, 2021 12:18 AM, "Dean Greer" <gcenx83 at gmail.com (mailto:gcenx83 at gmail.com?to=%22Dean%20Greer%22%20<gcenx83 at gmail.com>)> wrote:
Are you referring to a runtime issue?, since a later SDK has been needed from wine-5.8.
Yes. That function will be weak-linked, which means that on 10.8 and 10.9 it will be NULL. Calling it without checking for NULL will cause a crash on those systems.
On Sun, Aug 29, 2021 at 12:54 AM Chip Davis <cdavis at codeweavers.com (mailto:cdavis at codeweavers.com)> wrote:This sadly won't work for macOS 10.8 or 10.9. fstatat(2) was introduced to macOS in 10.10.

is_mount_point() already has this problem, but that's not your fault.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210829/ac2c3d08/attachment.htm>

More information about the wine-devel mailing list