head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.12.05.19.15.55; author wiz; state Exp; branches; next ; commitid jgn2QQrSSCk64a6H; desc @@ 1.1 log @snobol: fix ctype(3) abuse Fixes build. Add comments to patches while here. Bump PKGREVISION. @ text @$NetBSD$ Fix ctype(3) abuse. --- lib/realst.c.orig +++ lib/realst.c @@@@ -39,7 +39,7 @@@@ * make sure we have an exponent or a dot. */ bp = strbuf; - while (*bp && isdigit(*bp)) + while (*bp && isdigit((unsigned char)*bp)) bp++; if (*bp == '\0') { @