diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-17 10:58:04 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-17 10:58:04 +0000 |
commit | a7d5c29129aab547faff1fd2cfe0d9095ec4689b (patch) | |
tree | 9890ba8c05b46ae778b6529a095f32d12096a459 /posix/regex_internal.h | |
parent | 0bc02a400815ace6f0f9265a681e2b0bd92ad683 (diff) | |
download | glibc-a7d5c29129aab547faff1fd2cfe0d9095ec4689b.zip glibc-a7d5c29129aab547faff1fd2cfe0d9095ec4689b.tar.gz glibc-a7d5c29129aab547faff1fd2cfe0d9095ec4689b.tar.bz2 |
Update.
2002-12-17 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regcomp.c (free_workarea_compile): Free the new member
ORG_INDICES.
(analyze): Initialize ORG_INDICES.
(duplicate_node_closure): Search for a existing node, which is
duplicated from the node ORG_DEST and satisfies the constraint
CONSTRAINT. And use it to avoid inifimite loop.
(search_duplicated_node): New function.
(duplicate_node): Store the index of the original node.
* posix/regex_internal.c (re_dfa_add_node): Realloc ORG_INDICES
if needed.
* posix/regex_internal.h (re_dfa_t): Add new members.
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r-- | posix/regex_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h index 5086787..ea04a6f 100644 --- a/posix/regex_internal.h +++ b/posix/regex_internal.h @@ -508,6 +508,7 @@ struct re_dfa_t int nodes_len; bin_tree_t *str_tree; int *nexts; + int *org_indices; re_node_set *edests; re_node_set *eclosures; re_node_set *inveclosures; |