[BZ #558]
commit963d8d782fc98fb6dc3a66f0068795f9920c269d
authorUlrich Drepper <drepper@redhat.com>
Thu, 27 Jan 2005 19:08:10 +0000 (27 19:08 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 27 Jan 2005 19:08:10 +0000 (27 19:08 +0000)
treef2f9455bff4b050e427bbeb11719eb1aceddf386
parent717ecb1fe52cc726cb9521e8a93c90040fe2b255
[BZ #558]

Update.
2005-01-27  Paolo Bonzini  <bonzini@gnu.org>

[BZ #558]
* posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
Initialize the node sets in dfa->inveclosures.
(analyze): Initialize inveclosures only if it is needed.
Check errors from calc_inveclosure.
* posix/regex_internal.c (re_dfa_add_node): Do not initialize
the inveclosure node set.
* posix/regexec.c (re_search_internal): If nmatch includes unused
subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.

* posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
Do build a SIMPLE_BRACKET token.

* posix/regexec.c (transit_state_mb): Do not examine nodes
where ACCEPT_MB is not set.
ChangeLog
posix/regcomp.c
posix/regex_internal.c
posix/regexec.c