]> granicus.if.org Git - file/commitdiff
allow ? in apple creator/type magic
authorChristos Zoulas <christos@zoulas.com>
Sat, 31 Oct 2015 15:37:17 +0000 (15:37 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 31 Oct 2015 15:37:17 +0000 (15:37 +0000)
src/apprentice.c

index cbb058981d7d7a9de9ffa65c14425824299d72a6..a58803158ee56c417771ce81a04582f30228d604 100644 (file)
@@ -32,7 +32,7 @@
 #include "file.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: apprentice.c,v 1.241 2015/09/16 22:52:54 christos Exp $")
+FILE_RCSID("@(#)$File: apprentice.c,v 1.242 2015/10/31 15:37:17 christos Exp $")
 #endif /* lint */
 
 #include "magic.h"
@@ -2271,7 +2271,7 @@ parse_apple(struct magic_set *ms, struct magic_entry *me, const char *line)
 
        return parse_extra(ms, me, line,
            CAST(off_t, offsetof(struct magic, apple)),
-           sizeof(m->apple), "APPLE", "!+-./", 0);
+           sizeof(m->apple), "APPLE", "!+-./?", 0);
 }
 
 /*