diff --git a/ChangeLog b/ChangeLog index 04df88e9fa..4fa706acc8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,3 @@ -2003-11-19 Ulrich Drepper - - * posix/PTESTS: 2nd GA 135 and 1st GA 136 tests are wrong, too. - 2003-11-19 Jakub Jelinek * posix/regexec.c (extend_buffers): Don't allocate diff --git a/posix/PTESTS b/posix/PTESTS index 341c735347..8235384fec 100644 --- a/posix/PTESTS +++ b/posix/PTESTS @@ -226,7 +226,7 @@ 1¦20¦a\(.*b\)c¦axcaxbbbcsxbbbbbbbbc¦ # GA135 1¦7¦\(a\(b\(c\(d\(e\)\)\)\)\)\4¦abcdededede¦ --1¦-1¦a\(b\)*c\1¦acb¦ +1¦2¦a\(b\)*c\1¦acb¦ 1¦11¦\(a\(b\(c\(d\(e\(f\(g\)h\(i\(j\)\)\)\)\)\)\)\)\9¦abcdefghijjk¦ # GA136 1¦2¦a\(b\)*c\1¦acb¦ diff --git a/posix/ptestcases.h b/posix/ptestcases.h index ecf0390123..39e3494313 100644 --- a/posix/ptestcases.h +++ b/posix/ptestcases.h @@ -221,10 +221,10 @@ { 1, 20, "a\\(.*b\\)c", "axcaxbbbcsxbbbbbbbbc", }, { 0, 0, "GA135", NULL, }, { 1, 7, "\\(a\\(b\\(c\\(d\\(e\\)\\)\\)\\)\\)\\4", "abcdededede", }, - { -1, -1, "a\\(b\\)*c\\1", "acb", }, + { 1, 2, "a\\(b\\)*c\\1", "acb", }, { 1, 11, "\\(a\\(b\\(c\\(d\\(e\\(f\\(g\\)h\\(i\\(j\\)\\)\\)\\)\\)\\)\\)\\)\\9", "abcdefghijjk", }, { 0, 0, "GA136", NULL, }, - { -1, -1, "a\\(b\\)*c\\1", "acb", }, + { 1, 2, "a\\(b\\)*c\\1", "acb", }, { 4, 7, "a\\(b\\(c\\(d\\(f\\)*\\)\\)\\)\\4", "xYzabcdePQRST", }, { 0, 0, "GA137", NULL, }, { -2, -2, "\\(a\\(b\\)\\)\\3", "foo", },