From: "Chip Davis" Subject: Re: [PATCH 2/2] ntdll: Replace fstat and lstat with fstatat in get_file_info. Message-Id: Date: Sun, 29 Aug 2021 05:40:26 +0000 In-Reply-To: References: <75ec9457c4bc96bb2150421429176610@codeweavers.com> August 29, 2021 12:18 AM, "Dean Greer" )> 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 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. Chip Chip


August 29, 2021 12:18 AM, "Dean Greer" <gcenx83@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@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.


Chip



Chip