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.22-212-g41a4f0d


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  41a4f0d493e98199d147be93431e74a932fd2b69 (commit)
      from  81503d1e4449fdb334ad343f4ddc05891c6b4190 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=41a4f0d493e98199d147be93431e74a932fd2b69

commit 41a4f0d493e98199d147be93431e74a932fd2b69
Author: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Date:   Wed Sep 2 22:04:23 2015 -0300

    powerpc: Fix compiler warning in some syscalls.
    
    Commit f4491417cc80b4a01e72e9d218af137765ee5918 introduced some warnings
    when building GLIBC with GCC 5.x. similar to those fixed by commit
    dd6e8af6ba1b8a95a7f1dc7422e5ea4ccc7fbd93.  This patch fixes those warnings.
    
    	* sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
    	first member of struct sv in syscall macro.

diff --git a/ChangeLog b/ChangeLog
index 5bab613..09ff85f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
+
+	* sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
+	first member of struct sv in syscall macro.
+
 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #14912]
diff --git a/sysdeps/unix/sysv/linux/socketpair.c b/sysdeps/unix/sysv/linux/socketpair.c
index 5c68970..d40b527 100644
--- a/sysdeps/unix/sysv/linux/socketpair.c
+++ b/sysdeps/unix/sysv/linux/socketpair.c
@@ -27,7 +27,7 @@ int
 __socketpair (int domain, int type, int protocol, int sv[2])
 {
 #ifdef __ASSUME_SOCKETPAIR_SYSCALL
-  return INLINE_SYSCALL (socketpair, 4, domain, type, protocol, sv);
+  return INLINE_SYSCALL (socketpair, 4, domain, type, protocol, &sv[0]);
 #else
   return SOCKETCALL (socketpair, domain, type, protocol, sv);
 #endif

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

Summary of changes:
 ChangeLog                            |    5 +++++
 sysdeps/unix/sysv/linux/socketpair.c |    2 +-
 2 files changed, 6 insertions(+), 1 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]