Date: Thu, 15 Jan 2004 11:27:20 +0100 From: ted@sanne.nlnetlabs.nl (Ted Lindgreen) To: freebsd-current@freebsd.org Subject: Redefinition of EAI_NODATA in /usr/include/netdb.h Message-ID: <200401151027.i0FARKKe000845@sanne.nlnetlabs.nl>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401151027.i0FARKKe000845>
