diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-11-22 09:35:46 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-11-22 09:35:46 +0000 |
commit | 18e3dc56e43e3e8e997845c0934e14296ba18bb7 (patch) | |
tree | e74f4dc27d391a97be64032e73e8ea66d10c9973 /posix/regex_internal.c | |
parent | cb2eab1f8a11ad4e3e69b89a82a73435f0fa4983 (diff) | |
download | glibc-18e3dc56e43e3e8e997845c0934e14296ba18bb7.tar.gz glibc-18e3dc56e43e3e8e997845c0934e14296ba18bb7.tar.xz glibc-18e3dc56e43e3e8e997845c0934e14296ba18bb7.zip |
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.
Diffstat (limited to 'posix/regex_internal.c')
-rw-r--r-- | posix/regex_internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex_internal.c b/posix/regex_internal.c index 71496ab906..50d6a79300 100644 --- a/posix/regex_internal.c +++ b/posix/regex_internal.c @@ -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; |