`F_GETPATH` is currently only implemented on macOS, although NetBSD 10 (not yet released) is also adding it.
Note that `libinotify` needs to be installed for this codepath to be active.
From: Brendan Shanks bshanks@codeweavers.com
F_GETPATH is currently only implemented on macOS.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56047 --- server/change.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/change.c b/server/change.c index 00d286ede7a..de9e5d4c314 100644 --- a/server/change.c +++ b/server/change.c @@ -723,7 +723,7 @@ static unsigned int filter_from_inode( struct inode *inode, int is_parent )
static char *get_path_from_fd( int fd, int sz ) { -#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) +#if defined(F_GETPATH) char *ret = malloc( PATH_MAX + sz );
if (!ret) return NULL;