diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-05-15 21:33:43 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-05-15 21:33:43 -0700 |
commit | 831a40494d44045c0caaf8085ab1d35c0da23140 (patch) | |
tree | 2a5336cdb2207583c2a42bc99ac8e4a8fbf3dbc7 /ChangeLog | |
parent | cfe1fc1013d0e7e4863c974fa0e78891cc0a2ed2 (diff) | |
download | glibc-831a40494d44045c0caaf8085ab1d35c0da23140.tar glibc-831a40494d44045c0caaf8085ab1d35c0da23140.tar.gz glibc-831a40494d44045c0caaf8085ab1d35c0da23140.tar.bz2 glibc-831a40494d44045c0caaf8085ab1d35c0da23140.zip |
Further robustify nscd database lookup.
We can compute an absolute maximum for the number of elements which
can fit into the currently mapped database. Stop after that many
iterations.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2009-05-15 Ulrich Drepper <drepper@redhat.com> + + * nscd/nscd.h: Move Definition for BLOCK_ALIGN_LOG, BLOCK_ALIGN, and + BLOCK_ALIGN_M1 to ... + * nscd/nscd-client.h: ...here. + * nscd/nscd_helper.c (__nscd_cache_search): Introduce loop counter. + Use it if we absolutely cannot reach any more correct list elements + because that many do not fit into the currently mapped database. + 2009-05-14 Jakub Jelinek <jakub@redhat.com> * nscd/nscd_helper.c: Include stddef.h. |