From 27c975960f00c7c46a3bc7429c5caad3398c2979 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Fri, 10 Nov 2017 03:44:05 +0000 Subject: [PATCH] Add _$ for more MS formats (Joerg Jenderek) examples: MS Compress archive names like: WINWORD6.IN_ HIMEM.SY_ winaspi.dl_ REMLINE.BA$ PWBBASIC.MX$ --- src/apprentice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apprentice.c b/src/apprentice.c index 45bba725..2024a8c4 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.267 2017/11/03 23:38:09 christos Exp $") +FILE_RCSID("@(#)$File: apprentice.c,v 1.268 2017/11/10 03:44:05 christos Exp $") #endif /* lint */ #include "magic.h" @@ -2346,7 +2346,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); } /* -- 2.40.0