diff options
-rw-r--r-- | src/plugins/mime_extractor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/mime_extractor.c b/src/plugins/mime_extractor.c index 26f4d49..32ef076 100644 --- a/src/plugins/mime_extractor.c +++ b/src/plugins/mime_extractor.c | |||
@@ -69,6 +69,9 @@ void __attribute__ ((constructor)) | |||
69 | mime_ltdl_init () | 69 | mime_ltdl_init () |
70 | { | 70 | { |
71 | magic = magic_open (MAGIC_MIME_TYPE); | 71 | magic = magic_open (MAGIC_MIME_TYPE); |
72 | /* FIXME: hard-wiring this path might not be the | ||
73 | most sane thing to do; not sure what is a good | ||
74 | portable way to find the 'magic' file though... */ | ||
72 | magic_load (magic, "/usr/share/misc/magic"); | 75 | magic_load (magic, "/usr/share/misc/magic"); |
73 | } | 76 | } |
74 | 77 | ||