ports/sysutils/fusefs-libs/files/patch-lib_mount__util.c
Kubilay Kocak 5b35c57799 sysutils/fusefs-libs: Remove duplicate patch hunks
Remove duplicate hanks in patches introduced in r404898 [1]

https://svnweb.freebsd.org/changeset/ports/404898

PR:		205620
Reviewed by:	miwi (original committer)
Approved by:	blanket (portmgr)
2015-12-31 04:34:58 +00:00

23 lines
414 B
C

--- lib/mount_util.c.orig 2015-05-22 09:24:02 UTC
+++ lib/mount_util.c
@@ -344,20 +344,3 @@ int fuse_mnt_check_empty(const char *pro
}
return 0;
}
-
-int fuse_mnt_check_fuseblk(void)
-{
- char buf[256];
- FILE *f = fopen("/proc/filesystems", "r");
- if (!f)
- return 1;
-
- while (fgets(buf, sizeof(buf), f))
- if (strstr(buf, "fuseblk\n")) {
- fclose(f);
- return 1;
- }
-
- fclose(f);
- return 0;
-}