2 --- libs/filesystem/src/operations.cpp
3 +++ libs/filesystem/src/operations.cpp
5 int err = invoke_statx(basedir_fd, p.c_str(), AT_NO_AUTOMOUNT, STATX_TYPE | STATX_MODE, &path_stat);
6 #elif defined(BOOST_FILESYSTEM_HAS_POSIX_AT_APIS)
7 struct ::stat path_stat;
8 +#ifdef AT_NO_AUTOMOUNT
9 int err = ::fstatat(basedir_fd, p.c_str(), &path_stat, AT_NO_AUTOMOUNT);
11 + int err = ::fstatat(basedir_fd, p.c_str(), &path_stat, 0);
14 struct ::stat path_stat;
15 int err = ::stat(p.c_str(), &path_stat);
17 int err = invoke_statx(basedir_fd, p.c_str(), AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT, STATX_TYPE | STATX_MODE, &path_stat);
18 #elif defined(BOOST_FILESYSTEM_HAS_POSIX_AT_APIS)
19 struct ::stat path_stat;
20 +#ifdef AT_NO_AUTOMOUNT
21 int err = ::fstatat(basedir_fd, p.c_str(), &path_stat, AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT);
23 + int err = ::fstatat(basedir_fd, p.c_str(), &path_stat, AT_SYMLINK_NOFOLLOW);
26 struct ::stat path_stat;
27 int err = ::lstat(p.c_str(), &path_stat);