Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/regex/regex2.h,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/regex/regex2.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.10 retrieving revision 1.11 diff -u -p -r1.10 -r1.11 --- src/lib/libc/regex/regex2.h 2003/08/07 16:43:20 1.10 +++ src/lib/libc/regex/regex2.h 2004/03/26 22:42:17 1.11 @@ -1,4 +1,4 @@ -/* $NetBSD: regex2.h,v 1.10 2003/08/07 16:43:20 agc Exp $ */ +/* $NetBSD: regex2.h,v 1.11 2004/03/26 22:42:17 enami Exp $ */ /*- * Copyright (c) 1992, 1993, 1994 @@ -206,4 +206,4 @@ struct re_guts { /* misc utilities */ #define OUT (CHAR_MAX+1) /* a non-character value */ -#define ISWORD(c) (isalnum(c) || (c) == '_') +#define ISWORD(c) (isalnum((unsigned char)c) || (c) == '_')