From: Thomas Roessler Date: Thu, 18 Nov 1999 10:42:14 +0000 (+0000) Subject: Detect .mew_cache files in MH folders. Suggested by Kawaguti Ginga X-Git-Tag: mutt-1-1-2-rel~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07d90fd243de202c97cd61ce2b74d0f21a3995ef;p=mutt Detect .mew_cache files in MH folders. Suggested by Kawaguti Ginga . --- diff --git a/mx.c b/mx.c index 763bf8aa..ee64bc80 100644 --- a/mx.c +++ b/mx.c @@ -371,6 +371,10 @@ int mx_get_magic (const char *path) snprintf (tmp, sizeof (tmp), "%s/.xmhcache", 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); } else if (st.st_size == 0) {