diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-05-30 17:32:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-05-30 17:32:08 +0000 |
commit | 902c429174f9660eaeb255695f8f335afbfdc54a (patch) | |
tree | 2cd188cbcdfd3b82be6aa3187b7755c12b607654 /ChangeLog | |
parent | ecc685684824cdbb971438ed944794d4bff4547d (diff) | |
download | glibc-902c429174f9660eaeb255695f8f335afbfdc54a.tar.gz glibc-902c429174f9660eaeb255695f8f335afbfdc54a.tar.xz glibc-902c429174f9660eaeb255695f8f335afbfdc54a.zip |
* nscd/nscd.h (prune_cache): Add fd argument to prototype. cvs/fedora-glibc-20060531T1322
* nscd/nscd.c (parse_opt): Read response from INVALIDATE request to make sure the database has been already invalidated. * nscd/cache.c (prune_cache): Add fd argument. Write response to fd after the cache has been invalidated. Use pthread_mutex_lock rather than pthread_mutex_trylock if fd != -1. * nscd/connections.c (invalidate_cache): Add fd argument, write response to fd if not calling prune_cache, pass fd to prune_cache. (handle_request): Adjust invalidate_cache caller. (nscd_run): Pass -1 as fd to prune_cache.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 2718e6b0d3..0fca57dc90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2006-05-30 Jakub Jelinek <jakub@redhat.com> + + * nscd/nscd.h (prune_cache): Add fd argument to prototype. + * nscd/nscd.c (parse_opt): Read response from INVALIDATE request + to make sure the database has been already invalidated. + * nscd/cache.c (prune_cache): Add fd argument. Write response to fd + after the cache has been invalidated. Use pthread_mutex_lock rather + than pthread_mutex_trylock if fd != -1. + * nscd/connections.c (invalidate_cache): Add fd argument, write + response to fd if not calling prune_cache, pass fd to prune_cache. + (handle_request): Adjust invalidate_cache caller. + (nscd_run): Pass -1 as fd to prune_cache. + 2006-05-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/getaddrinfo.c (gaiconf_init): Initialize bits in |