diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-12-29 00:42:16 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-12-29 00:42:16 +0000 |
commit | a96c63edd2c1b291741d443ba4e93144168eca72 (patch) | |
tree | 26d69b839c0dc35c51b7b40ba896c490d6f430a3 /posix/regcomp.c | |
parent | 5a299c962e5e096919470ba77a92522c278ad63a (diff) | |
download | glibc-a96c63edd2c1b291741d443ba4e93144168eca72.tar.gz glibc-a96c63edd2c1b291741d443ba4e93144168eca72.tar.xz glibc-a96c63edd2c1b291741d443ba4e93144168eca72.zip |
Update.
* posix/regcomp.c (mark_opt_subexp_iter): Declare IDX as int. * posix/regexec.c (re_copy_regs): Fix testing for failed allocation. _IO_peekc_unlocked, _IO_putc_unlocked, _IO_getwc_unlocked, and
Diffstat (limited to 'posix/regcomp.c')
-rw-r--r-- | posix/regcomp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/posix/regcomp.c b/posix/regcomp.c index 38b1b9c604..826486463e 100644 --- a/posix/regcomp.c +++ b/posix/regcomp.c @@ -614,7 +614,7 @@ free_dfa_content (re_dfa_t *dfa) re_free (dfa->word_char); #ifdef RE_ENABLE_I18N re_free (dfa->sb_char); -#endif +#endif #ifdef DEBUG re_free (dfa->re_str); #endif @@ -2479,7 +2479,7 @@ parse_dup_op (elem, regexp, dfa, token, syntax, err) mark_opt_subexp (elem, dfa); tree = elem = re_dfa_add_tree_node (dfa, elem, NULL, &dup_token); } - + if (BE (elem == NULL || tree == NULL, 0)) goto parse_dup_op_espace; @@ -3731,6 +3731,7 @@ static void mark_opt_subexp_iter (src, dfa, idx) const bin_tree_t *src; re_dfa_t *dfa; + int idx; { int node_idx; |