Skip to content

Commit

Permalink
Allow @ in extension
Browse files Browse the repository at this point in the history
  • Loading branch information
zoulasc committed Nov 7, 2016
1 parent 65f9dc5 commit eba76b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apprentice.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit eba76b4

Please sign in to comment.