diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-12-31 22:21:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-12-31 22:21:25 +0000 |
commit | ac8295d23b59e34d2f7c5757ea71336eab2c9e6e (patch) | |
tree | 7399464a02b52e3cd401338b2f5631733f209458 /posix/ptestcases.h | |
parent | 1c5d461740065effc3c0a1d84fd88842a608b7f7 (diff) | |
download | glibc-ac8295d23b59e34d2f7c5757ea71336eab2c9e6e.tar.gz glibc-ac8295d23b59e34d2f7c5757ea71336eab2c9e6e.tar.xz glibc-ac8295d23b59e34d2f7c5757ea71336eab2c9e6e.zip |
(collate_output): Update.
* locale/programs/ld-collate.c (collate_output): Emit correct information for collation elements. Don't write over end of array idx. * posix/regex.c: Handle also collation elements at end of range. * posix/PTESTS: Fix a few typos.
Diffstat (limited to 'posix/ptestcases.h')
-rw-r--r-- | posix/ptestcases.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/posix/ptestcases.h b/posix/ptestcases.h index d6e099c82b..87f584d2e3 100644 --- a/posix/ptestcases.h +++ b/posix/ptestcases.h @@ -110,7 +110,7 @@ { 3, 3, "[][.-.]-0]", "ab0-]", }, { 3, 3, "[A-[.].]c]", "ab]!", }, { 0, 0, "GA122", NULL, }, - { -2, -2, "[[.ch]]", "abc", }, + { -2, -2, "[[.ch.]]", "abc", }, { -2, -2, "[[.ab.][.CD.][.EF.]]", "yZabCDEFQ9", }, { 0, 0, "GA125", NULL, }, { 2, 2, "[[=a=]b]", "Abc", }, @@ -158,12 +158,12 @@ { 2, 6, "bc[d-w]xy", "abchxyz", }, { 0, 0, "GA129", NULL, }, { 1, 1, "[a-cd-f]", "dbccde", }, - { -1, -1, "[a-ce-f", "dBCCdE", }, + { -1, -1, "[a-ce-f]", "dBCCdE", }, { 2, 4, "b[n-zA-M]Y", "absY9Z", }, { 2, 4, "b[n-zA-M]Y", "abGY9Z", }, { 0, 0, "GA130", NULL, }, { 3, 3, "[-xy]", "ac-", }, - { 2, 4, "[c[-xy]D", "ac-D+", }, + { 2, 4, "c[-xy]D", "ac-D+", }, { 2, 2, "[--/]", "a.b", }, { 2, 4, "c[--/]D", "ac.D+b", }, { 2, 2, "[^-ac]", "abcde-", }, @@ -184,7 +184,7 @@ { 3, 4, "[a-c][e-f]", "acbedf", }, { 4, 8, "abc*XYZ", "890abXYZ#*", }, { 4, 9, "abc*XYZ", "890abcXYZ#*", }, - { 4, 15, "abc*XYZ", "890abccccccccXYZ#*", }, + { 4, 15, "abc*XYZ", "890abcccccccXYZ#*", }, { -1, -1, "abc*XYZ", "890abc*XYZ#*", }, { 0, 0, "GA132", NULL, }, { 2, 4, "\\(*bc\\)", "a*bc", }, @@ -262,7 +262,7 @@ { 1, 1, "^a", "abc", }, { -1, -1, "^b", "abc", }, { -1, -1, "^[a-zA-Z]", "99Nine", }, - { 1, 4, "^[a-zA-Z]", "Nine99", }, + { 1, 4, "^[a-zA-Z]*", "Nine99", }, { 0, 0, "GA145(1)", NULL, }, { 1, 2, "\\(^a\\)\\1", "aabc", }, { -1, -1, "\\(^a\\)\\1", "^a^abc", }, @@ -274,7 +274,7 @@ { 3, 3, "a$", "cba", }, { -1, -1, "a$", "abc", }, { 5, 7, "[a-z]*$", "99ZZxyz", }, - { -1, -1, "[a-z]*$", "99ZZxyz99", }, + { 9, 9, "[a-z]*$", "99ZZxyz99", }, { 3, 3, "$$", "ab$", }, { -1, -1, "$$", "$ab", }, { 3, 3, "\\$$", "ab$", }, |