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.25-183-ge4e7948


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  e4e794841e3140875f2aa86b90e2ada3d61e1244 (commit)
      from  bdc543e338281da051b3dc06eae96c330a485ce6 (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=e4e794841e3140875f2aa86b90e2ada3d61e1244

commit e4e794841e3140875f2aa86b90e2ada3d61e1244
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Apr 7 13:01:21 2017 +0200

    resolv: Remove IQUERY support

diff --git a/ChangeLog b/ChangeLog
index 9024e62..9ae4706 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-04-07  Florian Weimer  <fweimer@redhat.com>
+
+	* resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
+
 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
 	* sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
diff --git a/NEWS b/NEWS
index 3590878..28bb008 100644
--- a/NEWS
+++ b/NEWS
@@ -41,6 +41,9 @@ Version 2.26
   "The Rules of Hungarian Orthography, 12th edition" and the work of
   Egmont Koblinger (Bug 18934).
 
+* res_mkquery and res_nmkquery no longer support the IQUERY opcode.  DNS
+  servers have not supported this opcode for a long time.
+
 Security related changes:
 
   [Add security related changes here]
diff --git a/resolv/res_mkquery.c b/resolv/res_mkquery.c
index d80b531..4532b58 100644
--- a/resolv/res_mkquery.c
+++ b/resolv/res_mkquery.c
@@ -188,24 +188,6 @@ res_nmkquery(res_state statp,
 		hp->arcount = htons(1);
 		break;
 
-	case IQUERY:
-		/*
-		 * Initialize answer section
-		 */
-		if (__glibc_unlikely (buflen < 1 + RRFIXEDSZ + datalen))
-			return (-1);
-		*cp++ = '\0';	/* no domain name */
-		NS_PUT16 (type, cp);
-		NS_PUT16 (class, cp);
-		NS_PUT32 (0, cp);
-		NS_PUT16 (datalen, cp);
-		if (datalen) {
-			memcpy(cp, data, datalen);
-			cp += datalen;
-		}
-		hp->ancount = htons(1);
-		break;
-
 	default:
 		return (-1);
 	}

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

Summary of changes:
 ChangeLog            |    4 ++++
 NEWS                 |    3 +++
 resolv/res_mkquery.c |   18 ------------------
 3 files changed, 7 insertions(+), 18 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]