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. --- mshow.c.orig 2026-10-15 19:40:30.152827711 +0000 +++ mshow.c @@@@ -67,7 +67,7 @@@@ printhdr(char *hdr) int uc = 1; while (*hdr && *hdr != ':' && printable(*hdr)) { - putc(uc ? toupper(*hdr) : *hdr, stdout); + putc(uc ? toupper((unsigned char)*hdr) : *hdr, stdout); uc = (*hdr == '-'); hdr++; } @