This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.14-324-g21fd49a

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  21fd49a9ef9c21cd2c87d0facf9f53bedb5cea20 (commit)
      from  32b63198d62a59adcc11bb9b165fd18e756e4e39 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------;a=commitdiff;h=21fd49a9ef9c21cd2c87d0facf9f53bedb5cea20

commit 21fd49a9ef9c21cd2c87d0facf9f53bedb5cea20
Author: Ulrich Drepper <>
Date:   Fri Oct 7 01:20:53 2011 -0400

    Don't unnecesarily use inotify in nscd

diff --git a/ChangeLog b/ChangeLog
index 6ad0e1a..edd2728 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-07  Ulrich Drepper  <>
+	* nscd/connections.c (register_traced_file): Don't register file
+	for disabled databases.
 2011-10-06  Ulrich Drepper  <>
 	* nscd/grpcache.c (cache_addgr): Initialize written in all cases.
diff --git a/nscd/connections.c b/nscd/connections.c
index 6e48869..7d3ff2e 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -891,7 +891,7 @@ cannot set socket to close on exec: %s; disabling paranoia mode"),
 register_traced_file (size_t dbidx, struct traced_file *finfo)
-  if (! dbs[dbidx].check_file)
+  if (! dbs[dbidx].enabled || ! dbs[dbidx].check_file)
   if (__builtin_expect (debug_level > 0, 0))


Summary of changes:
 ChangeLog          |    5 +++++
 nscd/connections.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

GNU C Library master sources

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]