From owner-freebsd-current@FreeBSD.ORG Thu Jan 15 02:27:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0152B16A4CE for ; Thu, 15 Jan 2004 02:27:35 -0800 (PST) Received: from sanne.nlnetlabs.nl (sanne.nlnetlabs.nl [213.154.224.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FC9643D5A for ; Thu, 15 Jan 2004 02:27:33 -0800 (PST) (envelope-from ted@sanne.nlnetlabs.nl) Received: from sanne.nlnetlabs.nl (localhost [127.0.0.1]) by sanne.nlnetlabs.nl (8.12.10/8.12.10) with ESMTP id i0FARLw0000846 for ; Thu, 15 Jan 2004 11:27:21 +0100 (CET) (envelope-from ted@sanne.nlnetlabs.nl) Received: (from ted@localhost) by sanne.nlnetlabs.nl (8.12.10/8.12.10/Submit) id i0FARKKe000845 for freebsd-current@freebsd.org; Thu, 15 Jan 2004 11:27:20 +0100 (CET) (envelope-from ted) Message-Id: <200401151027.i0FARKKe000845@sanne.nlnetlabs.nl> From: ted@sanne.nlnetlabs.nl (Ted Lindgreen) Date: Thu, 15 Jan 2004 11:27:20 +0100 X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: freebsd-current@freebsd.org X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on sanne.nlnetlabs.nl X-Mailman-Approved-At: Thu, 15 Jan 2004 05:41:04 -0800 Subject: Redefinition of EAI_NODATA in /usr/include/netdb.h X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 10:27:35 -0000 Hi, During the preparation for a interoperability workshop for RFC2535bis (DNSSEC) between BIND and NSD at RIPE we got bitten by a redefinition of EAI_NODATA in /usr/include/netdb.h in 5.2-Current. In /usr/include/netdb.h we find: #define EAI_MEMORY 6 /* memory allocation failure */ #if 0 /* obsoleted */ #define EAI_NODATA 7 /* no address associated with hostname */ #endif #define EAI_NONAME 8 /* hostname nor servname provided, or not known */ #define EAI_NODATA EAI_NONAME /* to be removed on 23 Apr 2004 */ According to the RCS-log of /usr/include/netdb.h this change was made: revision 1.28 date: 2003/10/23 17:54:17; author: ume; state: Exp; lines: +1 -0 workaround to have backward compatibility for EAI_NODATA. it will be removed on 23 Apr 2004. Submitted by: terry I have read various contributions on the mailing-lists about this change, but found no compelling arguments to change the standard include file netdb.h this way. In other words: We think that this a the wrong change at the wrong place, and should be removed ASAP instead of on 23 Apr 2004. A PR about this has also been filed by ISC (Mark Andrews): Problem Report bin/61369 Regards, -- ted (NLnet Labs)