aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-23 17:11:35 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-23 17:11:35 +0000
commitfd6650707a8af0acb4c4b5da55e217f95b9f595c (patch)
tree9a3430a6979353f92fc3c25861492937439f330a /nscd
parent26b2a85a045cdb3adffc10f4184a825d1b2222e3 (diff)
downloadglibc-fd6650707a8af0acb4c4b5da55e217f95b9f595c.zip
glibc-fd6650707a8af0acb4c4b5da55e217f95b9f595c.tar.gz
glibc-fd6650707a8af0acb4c4b5da55e217f95b9f595c.tar.bz2
Update.
2000-10-22 Bruno Haible <haible@clisp.cons.org> * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings for 0x8BF8, 0xA27E..0xA2A7. * iconvdata/BIG5HKSCS.irreversible: New file. 2000-10-23 Jakub Jelinek <jakub@redhat.com> * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES. * timezone/zic.c (main): Likewise. 2000-10-23 Thorsten Kukuk <kukuk@suse.de> * nscd/connections.c (invalidate_cache): Don't invalidate a cache if it is not enabled.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/connections.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nscd/connections.c b/nscd/connections.c
index 651084c..121f150 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -207,7 +207,8 @@ invalidate_cache (char *key)
number = hstdb;
else return;
- prune_cache (&dbs[number], LONG_MAX);
+ if (dbs[number].enabled)
+ prune_cache (&dbs[number], LONG_MAX);
}