This is the mail archive of the glibc-cvs@sourceware.org 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-541-g9bea347


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  9bea34736f85cba4452c6ee1138152c6df752094 (commit)
      from  f101631bfddb6db77ca6b8ed3c2eb72b49d92f9f (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=9bea34736f85cba4452c6ee1138152c6df752094

commit 9bea34736f85cba4452c6ee1138152c6df752094
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Fri Dec 2 21:05:19 2011 -0500

    Avoid warning in aicache.c

diff --git a/ChangeLog b/ChangeLog
index f83bf4f..a0ba6b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-02  Ulrich Drepper  <drepper@gmail.com>
+
+	* nscd/aicache.c (addhstaiX): Avoid unused variable warning.
+
 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
diff --git a/nscd/aicache.c b/nscd/aicache.c
index 8d100f8..aaaf80d 100644
--- a/nscd/aicache.c
+++ b/nscd/aicache.c
@@ -461,9 +461,12 @@ addhstaiX (struct database_dyn *db, int fd, request_header *req,
 		      <= (sizeof (struct database_pers_head)
 			  + db->head->module * sizeof (ref_t)
 			  + db->head->data_size));
+# ifndef __ASSUME_SENDFILE
 	      ssize_t written;
-	      written = sendfileall (fd, db->wr_fd, (char *) &dataset->resp
-				     - (char *) db->head, dataset->head.recsize);
+	      written =
+# endif
+		sendfileall (fd, db->wr_fd, (char *) &dataset->resp
+			     - (char *) db->head, dataset->head.recsize);
 # ifndef __ASSUME_SENDFILE
 	      if (written == -1 && errno == ENOSYS)
 		goto use_write;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |    4 ++++
 nscd/aicache.c |    7 +++++--
 2 files changed, 9 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
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]