Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/filesystems/gvfs/files/patch-client_gvfsfusedaemon.c
18157 views
1
--- client/gvfsfusedaemon.c.orig 2012-05-15 20:01:49.000000000 +0200
2
+++ client/gvfsfusedaemon.c 2012-05-31 14:00:26.000000000 +0200
3
@@ -2361,7 +2361,9 @@
4
subthread = g_thread_new ("gvfs-fuse-sub", (GThreadFunc) subthread_main, NULL);
5
6
/* Indicate O_TRUNC support for open() */
7
+#ifdef FUSE_CAP_ATOMIC_O_TRUNC
8
conn->want |= FUSE_CAP_ATOMIC_O_TRUNC;
9
+#endif
10
11
return NULL;
12
}
13
14