* nscd/connections.c (restart): Don't resync if database is
	disabled.  Patch mostly by Brian De Wolf <bldewolf@csupomona.edu>.
This commit is contained in:
Ulrich Drepper 2007-10-05 21:12:46 +00:00
parent 6789aaaa97
commit 3e6ce4d77e
2 changed files with 12 additions and 7 deletions

View File

@ -1,5 +1,9 @@
2007-10-05 Ulrich Drepper <drepper@redhat.com> 2007-10-05 Ulrich Drepper <drepper@redhat.com>
[BZ #5112]
* nscd/connections.c (restart): Don't resync if database is
disabled. Patch mostly by Brian De Wolf <bldewolf@csupomona.edu>.
* sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN, * sysdeps/gnu/netinet/tcp.h: Define TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN,
struct tcp_md5sig. Extend struct tcp_info according to recent kernels. struct tcp_md5sig. Extend struct tcp_info according to recent kernels.

View File

@ -1284,6 +1284,7 @@ cannot change to old working directory: %s; disabling paranoia mode"),
/* Synchronize memory. */ /* Synchronize memory. */
for (int cnt = 0; cnt < lastdb; ++cnt) for (int cnt = 0; cnt < lastdb; ++cnt)
if (!dbs[cnt].enabled)
{ {
/* Make sure nobody keeps using the database. */ /* Make sure nobody keeps using the database. */
dbs[cnt].head->timestamp = 0; dbs[cnt].head->timestamp = 0;