From: Christos Zoulas Date: Tue, 8 Sep 2015 13:46:49 +0000 (+0000) Subject: apply parameters before unwrapping() the list of files (Christoph Biedl) X-Git-Tag: FILE5_25~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ddb783c500f63c0aae47a59a30c3ffe9849e4ab;p=file apply parameters before unwrapping() the list of files (Christoph Biedl) --- diff --git a/src/file.c b/src/file.c index c700f669..7502f5f1 100644 --- a/src/file.c +++ b/src/file.c @@ -32,7 +32,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: file.c,v 1.164 2015/06/03 18:21:24 christos Exp $") +FILE_RCSID("@(#)$File: file.c,v 1.165 2015/06/11 12:52:32 christos Exp $") #endif /* lint */ #include "magic.h" @@ -237,6 +237,7 @@ main(int argc, char *argv[]) if (magic == NULL) if ((magic = load(magicfile, flags)) == NULL) return 1; + applyparam(magic); e |= unwrap(magic, optarg); ++didsomefiles; break;