From 151ccb74000f5dbf2663d88b204b1bdf8e3ebd56 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 28 Nov 2006 01:13:26 +0000 Subject: [PATCH] (regex_compile): Fix previous change. --- src/regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regex.c b/src/regex.c index 7967a481ae9..0e15c5eaf44 100644 --- a/src/regex.c +++ b/src/regex.c @@ -2939,7 +2939,7 @@ regex_compile (pattern, size, syntax, bufp) for (ch = 0; ch < 1 << BYTEWIDTH; ++ch) { int translated = TRANSLATE (ch); - if (translate < 1 << BYTEWIDTH + if (translated < (1 << BYTEWIDTH) && re_iswctype (btowc (ch), cc)) SET_LIST_BIT (translated); } -- 2.39.2