1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c
Li-Wen Hsu 37bd4f91cc - Fix build for FreeBSD-6 by importing libfuse-libs patches
Submitted by:	<buganini AT gmail.com> (maintainer)
2010-08-28 23:04:37 +00:00

24 lines
421 B
C

--- lib/mount_util.c.orig 2008-02-04 00:23:30.000000000 -0500
+++ lib/mount_util.c 2008-02-04 00:23:58.000000000 -0500
@@ -224,20 +224,3 @@
}
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;
-}