mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 04:03:35 +08:00
Update.
2003-11-22 Ulrich Drepper <drepper@redhat.com> * posix/PTESTS: Fix first test of GA143. * posix/regex_internal.c (re_dfa_add_node): Add BE, reallocation isn't likely.
This commit is contained in:
parent
cb2eab1f8a
commit
18e3dc56e4
@ -1,5 +1,12 @@
|
||||
2003-11-22 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* posix/PTESTS: Fix first test of GA143.
|
||||
|
||||
2003-11-21 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* posix/regex_internal.c (re_dfa_add_node): Add BE, reallocation
|
||||
isn't likely.
|
||||
|
||||
* locale/programs/charmap.c (charmap_read): If encoding is found
|
||||
not ASCII compatible, set enc_not_ascii_compatible.
|
||||
* locale/programs/charmap.h: Declare enc_not_ascii_compatible.
|
||||
|
@ -270,7 +270,8 @@
|
||||
1¦63¦a\{1,63\}¦aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa¦
|
||||
# 2.8.3.4 BRE Precedence
|
||||
# GA143
|
||||
2¦20¦\^\[[[.].]]\\(\\1\\)\*\\{1,2\\}\$¦a^[]\(1\)*\{1,2\}$b¦
|
||||
#W There are numerous bugs in the original version.
|
||||
2¦19¦\^\[[[.].]]\\(\\1\\)\*\\{1,2\\}\$¦a^[]\(\1\)*\{1,2\}$b¦
|
||||
1¦6¦[[=*=]][[=\=]][[=]=]][[===]][[...]][[:punct:]]¦*\]=.;¦
|
||||
1¦6¦[$\(*\)^]*¦$\()*^¦
|
||||
1¦1¦[\1]¦1¦
|
||||
|
@ -265,7 +265,7 @@
|
||||
{ 1, 63, "a\\{1,63\\}", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", },
|
||||
{ 0, 0, "2.8.3.4 BRE Precedence", NULL, },
|
||||
{ 0, 0, "GA143", NULL, },
|
||||
{ 2, 20, "\\^\\[[[.].]]\\\\(\\\\1\\\\)\\*\\\\{1,2\\\\}\\$", "a^[]\\(1\\)*\\{1,2\\}$b", },
|
||||
{ 2, 19, "\\^\\[[[.].]]\\\\(\\\\1\\\\)\\*\\\\{1,2\\\\}\\$", "a^[]\\(\\1\\)*\\{1,2\\}$b", },
|
||||
{ 1, 6, "[[=*=]][[=\\=]][[=]=]][[===]][[...]][[:punct:]]", "*\\]=.;", },
|
||||
{ 1, 6, "[$\\(*\\)^]*", "$\\()*^", },
|
||||
{ 1, 1, "[\\1]", "1", },
|
||||
|
@ -1040,7 +1040,7 @@ re_dfa_add_node (dfa, token, mode)
|
||||
re_token_t token;
|
||||
int mode;
|
||||
{
|
||||
if (dfa->nodes_len >= dfa->nodes_alloc)
|
||||
if (BE (dfa->nodes_len >= dfa->nodes_alloc, 0))
|
||||
{
|
||||
re_token_t *new_array;
|
||||
dfa->nodes_alloc *= 2;
|
||||
|
Loading…
Reference in New Issue
Block a user