diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-11-10 15:48:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-11-10 15:48:06 +0000 |
commit | bb677c9581b95720df6b28c375a3278d69e06f44 (patch) | |
tree | dc9745fd89d8cb3afbab86c2c901bce1ce2b5091 /ChangeLog | |
parent | ed2ced8ae324a8a89a76ff3fc3971226b0107d3e (diff) | |
download | glibc-bb677c9581b95720df6b28c375a3278d69e06f44.tar glibc-bb677c9581b95720df6b28c375a3278d69e06f44.tar.gz glibc-bb677c9581b95720df6b28c375a3278d69e06f44.tar.bz2 glibc-bb677c9581b95720df6b28c375a3278d69e06f44.zip |
Update.
2004-11-09 Paolo Bonzini <bonzini@gnu.org>
* posix/regexec.c (transit_state): Remove the check for
out-of-bounds buffers.
(check_matching): Check here for out-of-bounds buffers.
(re_search_internal): Store into match_kind a set of bits
indicating which incantation of fastmap scanning must be
used. Use a switch statement instead of multiple ifs.
Exit the final "for (;;)" with goto free_return unless
the match succeeded, thus simplifying some conditionals.
* posix/regex_internal.c (re_string_reconstruct,
re_string_context_at): Add several branch predictions for
case-sensitive matching and no transition table being used.
2004-11-10 Ulrich Drepper <drepper@redhat.com>
* posix/tst-waitid.c: Don't use error to print error message, they
won't end up in the .out file.
* nscd/nscd_getgr_r.c: Likewise. Make map externally visible.
* nscd/nscd_gethst_r.c: Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -1,11 +1,31 @@ +2004-11-09 Paolo Bonzini <bonzini@gnu.org> + + * posix/regexec.c (transit_state): Remove the check for + out-of-bounds buffers. + (check_matching): Check here for out-of-bounds buffers. + (re_search_internal): Store into match_kind a set of bits + indicating which incantation of fastmap scanning must be + used. Use a switch statement instead of multiple ifs. + Exit the final "for (;;)" with goto free_return unless + the match succeeded, thus simplifying some conditionals. + + * posix/regex_internal.c (re_string_reconstruct, + re_string_context_at): Add several branch predictions for + case-sensitive matching and no transition table being used. + +2004-11-10 Ulrich Drepper <drepper@redhat.com> + + * posix/tst-waitid.c: Don't use error to print error message, they + won't end up in the .out file. + 2004-11-09 Ulrich Drepper <drepper@redhat.com> * nscd/nscd-client.h (libc_locked_map_ptr): Add new first parameter, used as class for definition. * nscd/nscd_getpw_r.c: Adjust for libc_locked_map_ptr change. (pw_map_free): Ensure no crash after memory is freed. - * nscd/nscd_getgr.c: Likewise. Make map externally visible. - * nscd/nscd_gethst.c: Likewise. + * nscd/nscd_getgr_r.c: Likewise. Make map externally visible. + * nscd/nscd_gethst_r.c: Likewise. * nscd/nscd_getai.c: Use map from nscd_gethost.c. * nscd/nscd_initgroups.c: Use map from nscd_getgr.c. |