aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-28 23:04:37 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-28 23:04:37 +0000
commit37bd4f91ccdec3b724621949e91940084595be66 (patch)
tree61934ec871c6fbfa42ad0fb3947c70aa7442b856 /sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c
parentab32e86e11009b4104b17bdc0f5d9b7f79ce2b1b (diff)
downloadports-37bd4f91ccdec3b724621949e91940084595be66.tar.gz
ports-37bd4f91ccdec3b724621949e91940084595be66.zip
Notes
Diffstat (limited to 'sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c')
-rw-r--r--sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c b/sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c
new file mode 100644
index 000000000000..b81a34084aee
--- /dev/null
+++ b/sysutils/fusefs-fusexmp_fh/files/patch-lib_mount_util.c
@@ -0,0 +1,23 @@
+--- 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;
+-}