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-323-g32b6319

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  32b63198d62a59adcc11bb9b165fd18e756e4e39 (commit)
      from  054c0457fd670ab29024e5e8655f507aecd68e18 (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=32b63198d62a59adcc11bb9b165fd18e756e4e39

commit 32b63198d62a59adcc11bb9b165fd18e756e4e39
Author: Ulrich Drepper <>
Date:   Thu Oct 6 03:44:19 2011 -0400

    Avoid warning when reload of group entry fails

diff --git a/ChangeLog b/ChangeLog
index 710d6db..6ad0e1a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2011-10-06  Ulrich Drepper  <>
+	* nscd/grpcache.c (cache_addgr): Initialize written in all cases.
 	* nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
 	from tree and freeing node.
diff --git a/nscd/grpcache.c b/nscd/grpcache.c
index 8a2f80c..e9607c6 100644
--- a/nscd/grpcache.c
+++ b/nscd/grpcache.c
@@ -117,6 +117,8 @@ cache_addgr (struct database_dyn *db, int fd, request_header *req,
 	  if (fd != -1)
 	    written = TEMP_FAILURE_RETRY (send (fd, &notfound, total,
+	  else
+	    written = total;
 	  /* If we cannot permanently store the result, so be it.  */
 	  if (db->negtimeout == 0)


Summary of changes:
 ChangeLog       |    2 ++
 nscd/grpcache.c |    2 ++
 2 files changed, 4 insertions(+), 0 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]