projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a 4-year-old used-uninitialized bug in regcomp.c.
[gnulib.git]
/
lib
/
regcomp.c
diff --git
a/lib/regcomp.c
b/lib/regcomp.c
index
fe4d243
..
a02418d
100644
(file)
--- a/
lib/regcomp.c
+++ b/
lib/regcomp.c
@@
-1049,7
+1049,7
@@
optimize_utf8 (re_dfa_t *dfa)
mb_chars = true;
break;
case ANCHOR:
- switch (dfa->nodes[node].opr.
idx
)
+ switch (dfa->nodes[node].opr.
ctx_type
)
{
case LINE_FIRST:
case LINE_LAST: