Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/filesystems/fusefs-libs/files/patch-lib_mount__util.c
18878 views
1
--- lib/mount_util.c.orig 2015-05-22 09:24:02 UTC
2
+++ lib/mount_util.c
3
@@ -344,20 +344,3 @@ int fuse_mnt_check_empty(const char *pro
4
}
5
return 0;
6
}
7
-
8
-int fuse_mnt_check_fuseblk(void)
9
-{
10
- char buf[256];
11
- FILE *f = fopen("/proc/filesystems", "r");
12
- if (!f)
13
- return 1;
14
-
15
- while (fgets(buf, sizeof(buf), f))
16
- if (strstr(buf, "fuseblk\n")) {
17
- fclose(f);
18
- return 1;
19
- }
20
-
21
- fclose(f);
22
- return 0;
23
-}
24
25