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, release/2.14/master, updated. glibc-2.14-12-g5babac1


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, release/2.14/master has been updated
       via  5babac1535735419921ca9edbf5f6c96a40296da (commit)
       via  fe6a22b68c40902e5bdf52c3c29979ec0eb58747 (commit)
       via  74cab7c660856e81852a715e516278eb54b57800 (commit)
      from  039ab4445d499689061a7605aa451b61932eef9f (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=5babac1535735419921ca9edbf5f6c96a40296da

commit 5babac1535735419921ca9edbf5f6c96a40296da
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Wed Jun 15 22:43:58 2011 -0400

    Fix typo in recent resolver change which causes segvs
    (cherry picked from commit 57912a71cc379f8582e3ea272782dc39c6c02e45)

diff --git a/ChangeLog b/ChangeLog
index a08e0e1..c29470a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-15  Ulrich Drepper  <drepper@gmail.com>
+
+	* resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
+	need to dereference resplen2.
+
 2011-06-14  Andreas Schwab  <schwab@redhat.com>
 
 	* sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 97142b7..a001c1e 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -549,7 +549,7 @@ __libc_res_nsend(res_state statp, const u_char *buf, int buflen,
 				    ns, ansp, ansp2, nansp2, resplen2);
 			if (n < 0)
 				return (-1);
-			if (n == 0 && (buf2 == NULL || resplen2 == 0))
+			if (n == 0 && (buf2 == NULL || *resplen2 == 0))
 				goto next_ns;
 		} else {
 			/* Use datagrams. */
@@ -559,7 +559,7 @@ __libc_res_nsend(res_state statp, const u_char *buf, int buflen,
 				    ansp2, nansp2, resplen2);
 			if (n < 0)
 				return (-1);
-			if (n == 0 && (buf2 == NULL || resplen2 == 0))
+			if (n == 0 && (buf2 == NULL || *resplen2 == 0))
 				goto next_ns;
 			if (v_circuit)
 			  // XXX Check whether both requests failed or

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=fe6a22b68c40902e5bdf52c3c29979ec0eb58747

commit fe6a22b68c40902e5bdf52c3c29979ec0eb58747
Author: Andreas Schwab <schwab@redhat.com>
Date:   Wed Jun 15 21:46:20 2011 -0400

    Improve 64-bit build
    
    An imperfect version of fxstatat64 was used in ld.so.
    (cherry picked from commit ee22793dd0b6c6bcbf341b5324da1af83d07dd13)

diff --git a/ChangeLog b/ChangeLog
index 61655f2..a08e0e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-14  Andreas Schwab  <schwab@redhat.com>
+
+	* sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
+
 2011-06-14  Andreas Jaeger  <aj@suse.de>
 
 	* sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
diff --git a/sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c b/sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
new file mode 100644
index 0000000..339e5f4
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
@@ -0,0 +1,6 @@
+/* In this implementation we do not really care whether the call fails
+   because of missing kernel support since we do not even call the
+   function in this case.  */
+#undef __ASSUME_ATFCTS
+#define __ASSUME_ATFCTS 1
+#include "fxstatat.c"

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=74cab7c660856e81852a715e516278eb54b57800

commit 74cab7c660856e81852a715e516278eb54b57800
Author: Andreas Jaeger <aj@suse.de>
Date:   Tue Jun 14 13:11:39 2011 -0700

    Quash two memset undeclared warnings.
    (cherry picked from commit c71ca1f89c6e89d8c4145e4c2fdcce2fc78812bd)

diff --git a/ChangeLog b/ChangeLog
index db9d586..61655f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-14  Andreas Jaeger  <aj@suse.de>
+
+	* sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
+	memset declaration.
+
 2011-06-10  Andreas Schwab  <schwab@redhat.com>
 
 	* sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 436952d..e0526fa 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-14  Andreas Jaeger  <aj@suse.de>
+
+	* pthread_rwlock_init.c: Include <string.h> for memset declaration.
+
 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
 
 	[BZ #386]
diff --git a/nptl/pthread_rwlock_init.c b/nptl/pthread_rwlock_init.c
index c0aa194..9ecd48c 100644
--- a/nptl/pthread_rwlock_init.c
+++ b/nptl/pthread_rwlock_init.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002,2007,2009,2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -18,6 +18,7 @@
    02111-1307 USA.  */
 
 #include "pthreadP.h"
+#include <string.h>
 #include <kernel-features.h>
 
 
diff --git a/sysdeps/unix/sysv/linux/check_native.c b/sysdeps/unix/sysv/linux/check_native.c
index 6e6624a..dedce34 100644
--- a/sysdeps/unix/sysv/linux/check_native.c
+++ b/sysdeps/unix/sysv/linux/check_native.c
@@ -1,5 +1,5 @@
 /* Determine whether interfaces use native transport.  Linux version.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007,2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,7 @@
 #include <stddef.h>
 #include <stdint.h>
 #include <stdlib.h>
+#include <string.h>
 #include <time.h>
 #include <unistd.h>
 #include <net/if.h>

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

Summary of changes:
 ChangeLog                                          |   14 ++++++++++++++
 nptl/ChangeLog                                     |    4 ++++
 nptl/pthread_rwlock_init.c                         |    3 ++-
 resolv/res_send.c                                  |    4 ++--
 sysdeps/unix/sysv/linux/check_native.c             |    3 ++-
 .../sysv/linux/{ => wordsize-64}/dl-fxstatat64.c   |    2 +-
 6 files changed, 25 insertions(+), 5 deletions(-)
 copy sysdeps/unix/sysv/linux/{ => wordsize-64}/dl-fxstatat64.c (90%)


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]