diff options
author | Christos Zoulas <christos@zoulas.com> | 2016-11-07 15:36:56 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2016-11-07 15:36:56 +0000 |
commit | b8de710faba293417650aab347b070e392b55133 (patch) | |
tree | 24e9eb9e5a39830e20a4c6c14459c1ce244a9a37 | |
parent | 098a917b2dd581445beb920672abf2d877e09513 (diff) | |
download | file-git-b8de710faba293417650aab347b070e392b55133.tar.gz |
Allow @ in extension
-rw-r--r-- | src/apprentice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apprentice.c b/src/apprentice.c index f2622c08..fa637755 100644 --- a/src/apprentice.c +++ b/src/apprentice.c @@ -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); } /* |