summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2016-11-07 15:36:56 +0000
committerChristos Zoulas <christos@zoulas.com>2016-11-07 15:36:56 +0000
commitb8de710faba293417650aab347b070e392b55133 (patch)
tree24e9eb9e5a39830e20a4c6c14459c1ce244a9a37
parent098a917b2dd581445beb920672abf2d877e09513 (diff)
downloadfile-git-b8de710faba293417650aab347b070e392b55133.tar.gz
Allow @ in extension
-rw-r--r--src/apprentice.c4
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);
}
/*