From: Jakub Jelinek Date: Sat, 5 Jan 2008 09:08:03 +0000 (+0000) Subject: [BZ #5112] X-Git-Tag: cvs/fedora-glibc-20080111T0737~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fbfe2f7d86586aaba6e9e37c2dd081fba7a09dd;p=thirdparty%2Fglibc.git [BZ #5112] * nscd/connections.c (restart): Fix condition. 2008-01-05 Jakub Jelinek [BZ #5112] * nscd/connections.c (restart): Fix condition. --- diff --git a/ChangeLog b/ChangeLog index 6deb5ddf31a..b36063143fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-01-05 Jakub Jelinek + + [BZ #5112] + * nscd/connections.c (restart): Fix condition. + 2008-01-03 Jakub Jelinek * ctype/ctype.h (__ctype_b_loc, __ctype_tolower_loc, diff --git a/nscd/connections.c b/nscd/connections.c index abd84b9b631..8140e96821a 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -1,5 +1,6 @@ /* Inner loops of cache daemon. - Copyright (C) 1998-2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 1998-2003, 2004, 2005, 2006, 2007, 2008 + Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1998. @@ -1297,7 +1298,7 @@ cannot change to old working directory: %s; disabling paranoia mode"), /* Synchronize memory. */ for (int cnt = 0; cnt < lastdb; ++cnt) - if (!dbs[cnt].enabled) + if (dbs[cnt].enabled) { /* Make sure nobody keeps using the database. */ dbs[cnt].head->timestamp = 0;