summaryrefslogtreecommitdiff
path: root/pkg/libfuse/patch/0003-Disable-iconv-module.patch
blob: 7a723fd6291fdcb7998152a57b0a966eefbb6aa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From 3729102830a97d81d7d1ad19c459addd2d2cb6b8 Mon Sep 17 00:00:00 2001
From: Michael Forney <mforney@mforney.org>
Date: Sun, 9 Jul 2017 02:35:45 -0700
Subject: [PATCH] Disable iconv module

---
 lib/fuse.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/fuse.c b/lib/fuse.c
index ce29819..cdece7f 100644
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -196,9 +196,8 @@ struct fuse_context_i {
 	fuse_req_t req;
 };
 
-/* Defined by FUSE_REGISTER_MODULE() in lib/modules/subdir.c and iconv.c.  */
+/* Defined by FUSE_REGISTER_MODULE() in lib/modules/subdir.c.  */
 extern fuse_module_factory_t fuse_module_subdir_factory;
-extern fuse_module_factory_t fuse_module_iconv_factory;
 
 static pthread_key_t fuse_context_key;
 static pthread_mutex_t fuse_context_lock = PTHREAD_MUTEX_INITIALIZER;
@@ -4475,7 +4474,6 @@ void fuse_lib_help(struct fuse_args *args)
 
 	/* Print help for builtin modules */
 	print_module_help("subdir", &fuse_module_subdir_factory);
-	print_module_help("iconv", &fuse_module_iconv_factory);
 
 	/* Parse command line options in case we need to
 	   activate more modules */
@@ -4683,7 +4681,6 @@ struct fuse *fuse_new(struct fuse_args *args,
 	if (builtin_modules_registered == 0) {
 		/* If not, register them. */
 		fuse_register_module("subdir", fuse_module_subdir_factory, NULL);
-		fuse_register_module("iconv", fuse_module_iconv_factory, NULL);
 		builtin_modules_registered= 1;
 	}
 	pthread_mutex_unlock(&fuse_context_lock);
-- 
2.13.2