projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30e9bc9
)
Subject: [PATCH] regcomp.c: adjust flag
author
Karl Williamson
<public@khwilliamson.com>
Tue, 7 Dec 2010 22:16:07 +0000
(15:16 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Sat, 11 Dec 2010 22:57:49 +0000
(15:57 -0700)
When something matches above Latin1, it should have the ANYOF_UTF8 bit
set.
regcomp.c
patch
|
blob
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
afa6712
..
e450ec2
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-8933,7
+8933,7
@@
parseit:
if ((ANYOF_FLAGS(ret) & ANYOF_FLAGS_ALL) == ANYOF_INVERT) {
for (value = 0; value < ANYOF_BITMAP_SIZE; ++value)
ANYOF_BITMAP(ret)[value] ^= 0xFF;
- ANYOF_FLAGS(ret) = ANYOF_UNICODE_ALL;
+ ANYOF_FLAGS(ret) = ANYOF_U
TF8|ANYOF_U
NICODE_ALL;
}
{