]> 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 7c8390e8a28597548026cf6716b6a5131e8498bb..ee5041b547e473120ff51c18cf5a55d056008093 100644 (file)
@@ -32,7 +32,7 @@
 #include "file.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: apprentice.c,v 1.254 2016/10/24 15:21:07 christos Exp $")
+FILE_RCSID("@(#)$File: apprentice.c,v 1.255 2016/10/24 18:02:17 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);
 }
 
 /*