head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.10.15.19.44.23; author ktnb; state Exp; branches; next ; commitid LSxFfdjvSpVzRBZG; desc @@ 1.1 log @mblaze: update to 1.4 * mcom: $MBLAZE_EDITOR is prefered to configure the editor * mless: support OpenBSD less without LESSOPEN (needs mlesskey.example-openbsd) * magrep: support multibyte regexps. * Bug fixes. * Documentation improvements. @ text @$NetBSD$ NetBSD 11 ctype fix. --- mmime.c.orig 2026-10-15 19:39:38.696179634 +0000 +++ mmime.c @@@@ -404,7 +404,7 @@@@ valid_content_type(char *s) for (; *s; s++) if (*s == '/') slash++; - else if (isalnum(*s) || *s == '-' || *s == '+' || *s == '.' || + else if (isalnum((unsigned char)*s) || *s == '-' || *s == '+' || *s == '.' || *s == ';' || *s == '=' || *s == '#') ; /* ok */ else @