]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 11 Sep 2004 20:48:01 +0000 (20:48 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 11 Sep 2004 20:48:01 +0000 (20:48 +0000)
* nscd/connections.c (nscd_run): Call setup_thread only for enabled
databases.

ChangeLog
nscd/connections.c

index 8f3c26ca59dd4570d5d07e6b3ccf302094771866..7731b48863b586e4f7704a02e32285d05172f383 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-09-11  Ulrich Drepper  <drepper@redhat.com>
 
+       * nscd/connections.c (nscd_run): Call setup_thread only for enabled
+       databases.
+
        * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Use __NTH for __cmsg_nxthdr.
 
 2004-09-10  Ulrich Drepper  <drepper@redhat.com>
index 11be7c3d0cf9e73c80ecaefd927ef5204d370243..b95ab05b3a383550d0b05654988e9d886e641c62 100644 (file)
@@ -772,7 +772,7 @@ nscd_run (void *p)
   time_t next_prune = run_prune ? time (NULL) + CACHE_PRUNE_INTERVAL : 0;
   static unsigned long int nready;
 
-  if (my_number < lastdb)
+  if (run_prune)
     setup_thread (&dbs[my_number]);
 
   conn.fd = sock;