diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-11-18 10:42:14 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-11-18 10:42:14 +0000 |
commit | 07d90fd243de202c97cd61ce2b74d0f21a3995ef (patch) | |
tree | 184477d5b7e5889e17e0f2dcfa8d3fa95d5d7e87 /mx.c | |
parent | de349b69f0be9a5d50297999b25ba7172704e156 (diff) |
Detect .mew_cache files in MH folders. Suggested by Kawaguti Ginga
<ginga@amalthea.phys.s.u-tokyo.ac.jp>.
Diffstat (limited to 'mx.c')
-rw-r--r-- | mx.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) { |