diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2008-02-04 06:04:53 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2008-02-04 06:04:53 +0000 |
commit | 856d74c9be7349590d4f4bc9ef9aaa707766162e (patch) | |
tree | 9b008a0d503fa889968e0a97c0733e9fa881d6e8 /sysutils/fusefs-libs/files/patch-lib_mount_util.c | |
parent | - Update to 0.4.7 (diff) |
Upgrade to 2.7.2.
PR: ports/120246
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=206688
Diffstat (limited to 'sysutils/fusefs-libs/files/patch-lib_mount_util.c')
-rw-r--r-- | sysutils/fusefs-libs/files/patch-lib_mount_util.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/fusefs-libs/files/patch-lib_mount_util.c b/sysutils/fusefs-libs/files/patch-lib_mount_util.c new file mode 100644 index 000000000000..b81a34084aee --- /dev/null +++ b/sysutils/fusefs-libs/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; +-} |