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, fedora/2.14/master, created. glibc-2.14-855-gb4413fb


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, fedora/2.14/master has been created
        at  b4413fbe13fd9f6632bdeaf18aa91342f8a28d76 (commit)

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

commit b4413fbe13fd9f6632bdeaf18aa91342f8a28d76
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Jun 3 13:07:31 2011 +0200

    2.14-2

diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index 94c0f40..f137cee 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -23,7 +23,7 @@
 Summary: The GNU libc libraries
 Name: glibc
 Version: %{glibcversion}
-Release: 1
+Release: 2
 # GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries.
 # Things that are linked directly into dynamically linked programs
 # and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional
@@ -1047,6 +1047,10 @@ rm -f *.filelist*
 %endif
 
 %changelog
+* Fri Jun  3 2011 Andreas Schwab <schwab@redhat.com> - 2.14-2
+- Revert "Handle DNS server failures in case of AF_UNSPEC lookups
+  correctly" (#710279)
+
 * Tue May 31 2011 Andreas Schwab <schwab@redhat.com> - 2.14-1
 - Update to 2.14 release
   - Handle DNS server failures in case of AF_UNSPEC lookups correctly

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

commit 44736879bec89d3a07abfa784f9734ef0452fffb
Author: Andreas Schwab <schwab@redhat.com>
Date:   Fri Jun 3 13:06:00 2011 +0200

    Revert "Handle DNS server failures in case of AF_UNSPEC lookups correctly"
    
    This reverts commit 4769ae77fc6c8dacea6476addb015c8797848cdd.

diff --git a/ChangeLog b/ChangeLog
index e335b77..3ed77d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,11 +15,6 @@
 	* po/Makefile (po-sed-cmd): Add ksh to extensions.
 	(libc.pot): Work around missing support for .ksh extension in xgettext.
 
-	[BZ #12684]
-	* resolv/res_send.c (__libc_res_nsend): Only go to the next name server
-	if both request failed.
-	(send_dg): In case of server errors clear resplen or *resplen2.
-
 	[BZ #12454]
 	* elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
 	when there are multiple maps.
diff --git a/NEWS b/NEWS
index c6be68c..81ea4c8 100644
--- a/NEWS
+++ b/NEWS
@@ -16,9 +16,9 @@ Version 2.14
   12393, 12420, 12432, 12445, 12449, 12453, 12454, 12460, 12469, 12489,
   12509, 12510, 12511, 12518, 12527, 12541, 12545, 12551, 12582, 12583,
   12587, 12597, 12601, 12611, 12625, 12626, 12631, 12650, 12653, 12655,
-  12660, 12671, 12681, 12684, 12685, 12711, 12713, 12714, 12717, 12723,
-  12724, 12734, 12738, 12746, 12766, 12775, 12777, 12782, 12788, 12792,
-  12795, 12811, 12813, 12814
+  12660, 12671, 12681, 12685, 12711, 12713, 12714, 12717, 12723, 12724,
+  12734, 12738, 12746, 12766, 12775, 12777, 12782, 12788, 12792, 12795,
+  12811, 12813, 12814
 
 * New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at,
   syncfs, setns, sendmmsg
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 97142b7..845b658 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)
 				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)
 				goto next_ns;
 			if (v_circuit)
 			  // XXX Check whether both requests failed or
@@ -1275,14 +1275,10 @@ send_dg(res_state statp,
 				(*thisresplenp > *thisanssizp)
 				? *thisanssizp : *thisresplenp);
 
-			if (recvresp1 || (buf2 != NULL && recvresp2)) {
-			  *resplen2 = 0;
+			if (recvresp1 || (buf2 != NULL && recvresp2))
 			  return resplen;
-			}
 			if (buf2 != NULL)
 			  {
-			    /* No data from the first reply.  */
-			    resplen = 0;
 			    /* We are waiting for a possible second reply.  */
 			    if (hp->id == anhp->id)
 			      recvresp1 = 1;
@@ -1348,7 +1344,7 @@ send_dg(res_state statp,
 		goto err_out;
 	}
 	else {
-		/* poll should not have returned > 0 in this case.  */
+	  	/* poll should not have returned > 0 in this case.  */
 		abort ();
 	}
 }

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


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]