diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-08-04 00:13:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-08-04 00:13:37 +0000 |
commit | fdc5ca9b7e4037c1db48e85e0d5c97a39aaa8db6 (patch) | |
tree | 062a5791e97cdc4bb52af46c8287e9b3f7e4822c | |
parent | 8d9d1b9e088c0616b99866aa7fb39e0ea53123fc (diff) | |
download | libextractor-fdc5ca9b7e4037c1db48e85e0d5c97a39aaa8db6.tar.gz libextractor-fdc5ca9b7e4037c1db48e85e0d5c97a39aaa8db6.zip |
docu
-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 | ||