libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit fdc5ca9b7e4037c1db48e85e0d5c97a39aaa8db6
parent 8d9d1b9e088c0616b99866aa7fb39e0ea53123fc
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat,  4 Aug 2012 00:13:37 +0000

docu

Diffstat:
Msrc/plugins/mime_extractor.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/plugins/mime_extractor.c b/src/plugins/mime_extractor.c @@ -69,6 +69,9 @@ void __attribute__ ((constructor)) mime_ltdl_init () { magic = magic_open (MAGIC_MIME_TYPE); + /* FIXME: hard-wiring this path might not be the + most sane thing to do; not sure what is a good + portable way to find the 'magic' file though... */ magic_load (magic, "/usr/share/misc/magic"); }