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

Erich E. Hoover erich.e.hoover at gmail.com
Mon Aug 30 15:20:03 CDT 2021


On Mon, Aug 30, 2021 at 1:53 PM Dean Greer <gcenx83 at gmail.com> wrote:
> How badly is this function needed as there is a third-party solution that implements this and more missing functions.

We're currently using (even before this patch) the fstatat() function
to detect if crossing a symlink puts us on a different drive.  I'd
definitely prefer for this to be "not our problem" by either using a
library to fill in these routines or upping the minimum supported Mac
OS X version.  That said, it's not that hard on Mac OS X to implement
a replacement for fstatat() using fcntl(F_GETPATH).

Best,
Erich



More information about the wine-devel mailing list