Fix a 4-year-old used-uninitialized bug in regcomp.c.
authorJim Meyering <meyering@redhat.com>
Sat, 1 Dec 2007 14:34:41 +0000 (15:34 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 1 Dec 2007 14:38:26 +0000 (15:38 +0100)
commit55a55895fdb87c717de595d2784536d9ffc1e59a
tree8d2236d543b8713523fdbe15b5929115027e027c
parent536677c5756ce56ca2079820450d116f403b46e2
Fix a 4-year-old used-uninitialized bug in regcomp.c.

* lib/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/,
that would inhibit utf8-optimization of a regexp containing line-
or buffer-anchors, e.g., `^', `$'.
ChangeLog
lib/regcomp.c