This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.14-324-g21fd49a
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 7 Oct 2011 05:21:12 -0000
- Subject: 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 -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=21fd49a9ef9c21cd2c87d0facf9f53bedb5cea20
commit 21fd49a9ef9c21cd2c87d0facf9f53bedb5cea20
Author: Ulrich Drepper <drepper@gmail.com>
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 <drepper@gmail.com>
+
+ * nscd/connections.c (register_traced_file): Don't register file
+ for disabled databases.
+
2011-10-06 Ulrich Drepper <drepper@gmail.com>
* 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"),
void
register_traced_file (size_t dbidx, struct traced_file *finfo)
{
- if (! dbs[dbidx].check_file)
+ if (! dbs[dbidx].enabled || ! dbs[dbidx].check_file)
return;
if (__builtin_expect (debug_level > 0, 0))
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
nscd/connections.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources