diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-11-13 20:04:16 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-11-13 20:04:16 +0000 |
commit | 78d8b07a44111d861be5f54847faccbc1219c3e7 (patch) | |
tree | bb8f15f25a686befb6bb0c370462eeb28077819c /ChangeLog | |
parent | b3d3d9742fc70e08af69d3fc9cb18035c25cd57d (diff) | |
download | glibc-78d8b07a44111d861be5f54847faccbc1219c3e7.tar glibc-78d8b07a44111d861be5f54847faccbc1219c3e7.tar.gz glibc-78d8b07a44111d861be5f54847faccbc1219c3e7.tar.bz2 glibc-78d8b07a44111d861be5f54847faccbc1219c3e7.zip |
Update.
* posix/regcomp.c (parse_bracket_exp): Don't check for range if
this is no option given the first token.
* posix/regcomp.c (parse_bracket_exp): Fix test for EOS after
hyphen in range expression. Return EBRACK in this case.
* posix/regcomp.c (parse_bracket_element): Reject hyphens unless
we expect them or it's the last element in the bracket expression.
Indicated by new parameter. Adjust all callers.
Prettier error messages.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,6 +1,17 @@ 2003-11-13 Ulrich Drepper <drepper@redhat.com> + * posix/regcomp.c (parse_bracket_exp): Don't check for range if + this is no option given the first token. + + * posix/regcomp.c (parse_bracket_exp): Fix test for EOS after + hyphen in range expression. Return EBRACK in this case. + + * posix/regcomp.c (parse_bracket_element): Reject hyphens unless + we expect them or it's the last element in the bracket expression. + Indicated by new parameter. Adjust all callers. + * posix/runtests.c (run_a_test): If regcomp failed, reset last_pattern. + Prettier error messages. * posix/regcomp.c (parse_dup_op): Fail with REG_BADBR is first number in {,} expression is larger. |