From: Kenichi Handa Date: Fri, 15 Dec 2006 01:33:37 +0000 (+0000) Subject: (regex_compile): Synch with HEAD. X-Git-Tag: emacs-pretest-23.0.90~8295^2~626 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ed00c2ac8337ed5ec9485a69e67f37d2909a84dc;p=emacs.git (regex_compile): Synch with HEAD. --- diff --git a/src/regex.c b/src/regex.c index b97ee7943fd..4b011634ae1 100644 --- a/src/regex.c +++ b/src/regex.c @@ -2992,7 +2992,8 @@ regex_compile (pattern, size, syntax, bufp) if (re_iswctype (btowc (ch), cc)) { c = TRANSLATE (ch); - SET_LIST_BIT (c); + if (c < (1 << BYTEWIDTH)) + SET_LIST_BIT (c); } if (target_multibyte)