HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6358f8b
)
(regex_compile): Fix previous change.
author
Kenichi Handa
<handa@m17n.org>
Tue, 28 Nov 2006 01:13:26 +0000
(
01:13
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 28 Nov 2006 01:13:26 +0000
(
01:13
+0000)
src/regex.c
patch
|
blob
|
blame
|
history
diff --git
a/src/regex.c
b/src/regex.c
index
7967a48
..
0e15c5e
100644
(file)
--- 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 (translate
d < (1 << BYTEWIDTH)
&& re_iswctype (btowc (ch), cc))
SET_LIST_BIT (translated);
}