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/io.c.orig +++ lib/io.c @@@@ -1465,7 +1465,7 @@@@ return FALSE; /* boing! */ #endif /* 0 */ recl = 0; - while (isdigit(*op)) { + while (isdigit((unsigned char)*op)) { recl = recl * 10 + *op - '0'; /* XXX works for ASCII */ op++; } @