]> granicus.if.org Git - file/commitdiff
Allow @ in extension
authorChristos Zoulas <christos@zoulas.com>
Mon, 7 Nov 2016 15:36:56 +0000 (15:36 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 7 Nov 2016 15:36:56 +0000 (15:36 +0000)
src/apprentice.c

index f2622c081284833b804cd206eef52de5f8903c94..fa637755977cb4b4ca6d96f40c86f57001aacbc0 100644 (file)
@@ -32,7 +32,7 @@
 #include "file.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: apprentice.c,v 1.255 2016/10/24 18:02:17 christos Exp $")
+FILE_RCSID("@(#)$File: apprentice.c,v 1.256 2016/11/07 15:36:56 christos Exp $")
 #endif /* lint */
 
 #include "magic.h"
@@ -2291,7 +2291,7 @@ parse_ext(struct magic_set *ms, struct magic_entry *me, const char *line)
 
        return parse_extra(ms, me, line,
            CAST(off_t, offsetof(struct magic, ext)),
-           sizeof(m->ext), "EXTENSION", ",!+-/", 0);
+           sizeof(m->ext), "EXTENSION", ",!+-/@", 0);
 }
 
 /*