Mercurial > hg > octave-lyh > gnulib-hg
changeset 9494:7cd817e07a16
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., `^', `$'.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sat, 01 Dec 2007 15:34:41 +0100 |
parents | ea7514ad4ec0 |
children | c10236f27515 |
files | ChangeLog lib/regcomp.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-12-01 Jim Meyering <meyering@redhat.com> + + Fix a bug that inhibited much of the utf8-optimization 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., `^', `$'. + 2007-11-30 Bruno Haible <bruno@clisp.org> * lib/lock.h (gl_recursive_lock_init) [PTHREAD &&