* nscd/nscd.h (MAX_STACK_USE): Define.
commit30294ea4495e48e0103fee4d855737a281cc49fa
authorUlrich Drepper <drepper@redhat.com>
Sun, 25 Nov 2007 21:08:01 +0000 (25 21:08 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 25 Nov 2007 21:08:01 +0000 (25 21:08 +0000)
tree23a6e4b71c9fb7758596f212085e0ce8eaf7e4b9
parent609bb0712d522828bf52eb539d0b590ae153e55f
* nscd/nscd.h (MAX_STACK_USE): Define.

* nscd/mem.c (MAX_STACK_USE): Remove definition here.
(gc): Initialize stack_used based on allocation in prune_cache.
* nscd/cache.c (prune_cache): Use heap for mark array if necessary.
Clear array bfore use.

* nscd/aicache.c (addhstaiX): Update statistics counter in case
memory allocate failed.
ChangeLog
nscd/aicache.c
nscd/cache.c
nscd/mem.c
nscd/nscd.h