File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ case "$os" in
4747 plat_files=" $plat_files ../src/compat/dummy.c"
4848 plat_files=" $plat_files ../src/compat/clearenv.c "
4949 plat_cflags=" $plat_cflags -include ../src/compat/macosx.h"
50+ # Fuse-T (kext-free FUSE) uses NFS internally, which stats every
51+ # directory entry after readdir. Compile in a runtime check for
52+ # this behavior that activates a workaround.
5053 if [ " $server " = " fuse" ]; then
5154 plat_cflags=" $plat_cflags -DFUSE_NFS_WORKAROUND"
5255 fi
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ ifeq ($(TUP_SERVER),fuse)
44export PKG_CONFIG_PATH
55CFLAGS += `pkg-config fuse --cflags`
66ifeq (@(TUP_PLATFORM),macosx)
7+ # Fuse-T (kext-free FUSE) uses NFS internally, which stats every
8+ # directory entry after readdir. Compile in a runtime check for
9+ # this behavior that activates a workaround.
710CFLAGS += -DFUSE_NFS_WORKAROUND
811endif
912: foreach fuse_server.c fuse_fs.c master_fork.c symlink.c |> !cc |>
You can’t perform that action at this time.
0 commit comments