$NetBSD: patch-af,v 1.3 2004/12/15 13:09:58 taca Exp $ --- nmz/search.c.orig 2004-04-05 00:26:48.000000000 +0900 +++ nmz/search.c @@ -564,7 +564,7 @@ do_regex_preprocessing(char *expr) exprp = expr; /* Escape meta characters */ while (*exprp) { - if (!isalnum(*exprp) && !nmz_iseuc(*exprp)) { + if (!isalnum((unsigned char)*exprp) && !nmz_iseuc(*exprp)) { *bufp = '\\'; bufp++; }