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 /posix/runtests.c | |
parent | Update. (diff) | |
download | 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 'posix/runtests.c')
-rw-r--r-- | posix/runtests.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/posix/runtests.c b/posix/runtests.c index ea1efb6bf1..9d744751ea 100644 --- a/posix/runtests.c +++ b/posix/runtests.c @@ -75,8 +75,7 @@ run_a_test (int id, const struct a_test * t) regfree (&r); last_pattern = NULL; regerror (err, &r, errmsg, 100); - printf ("test %d\n", id); - puts (errmsg); + printf (" FAIL: %s.\n", errmsg); return 1; } else if (t->expected == 2) |