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. --- mhdr.c.orig 2026-10-15 19:38:22.512423818 +0000 +++ mhdr.c @@@@ -33,7 +33,7 @@@@ printhdr(char *hdr) printf("%s\t", curfile); while (*hdr && *hdr != ':') { - putc(uc ? toupper(*hdr) : *hdr, stdout); + putc(uc ? toupper((unsigned char)*hdr) : *hdr, stdout); uc = (*hdr == '-'); hdr++; } @