From e7b1b4e3745d8c7e7ab87338188eba97fe614de7 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 20 Aug 2001 12:11:28 +0000 Subject: [PATCH] Check for .mew-cache in MH folders. --- mx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mx.c b/mx.c index 69eaeabd..22115c5a 100644 --- a/mx.c +++ b/mx.c @@ -396,6 +396,10 @@ int mx_get_magic (const char *path) if (access (tmp, F_OK) == 0) return (M_MH); + snprintf (tmp, sizeof (tmp), "%s/.mew-cache", path); + if (access (tmp, F_OK) == 0) + return (M_MH); + /* * ok, this isn't an mh folder, but mh mode can be used to read * Usenet news from the spool. ;-) -- 2.40.0