cvs commit: src/include netdb.h

Andrea Campi andrea at webcom.it
Fri Oct 24 00:32:10 PDT 2003


> On Thu, Oct 23, 2003 at 10:54:17AM -0700, Hajimu UMEMOTO wrote:
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     include              netdb.h 
> >   Log:
> >   workaround to have backward compatibility for EAI_NODATA.
> >   it will be removed on 23 Apr 2004.
> >   
> >   Submitted by:   terry
> 
> | @@ -163,6 +163,7 @@ struct addrinfo {
> |  #define	EAI_NODATA	 7	/* no address associated with hostname */
> |  #endif
> |  #define	EAI_NONAME	 8	/* hostname nor servname provided, or not known */
> | +#define EAI_NODATA	EAINONAME	/* To be removed on 23 APR 2004 */
> |  #define	EAI_SERVICE	 9	/* servname not supported for ai_socktype */
> |  #define	EAI_SOCKTYPE	10	/* ai_socktype not supported */
> |  #define	EAI_SYSTEM	11	/* system error returned in errno */

I also wonder at this "to be removed on". Shouldn't this be under BURN_BRIDGES,
or anyway handled in the traditional way: deprecate it in 5-RELEASE, remove in 6?

Bye,
	Andrea

-- 
   If Bill Gates had a dime for every time a Windows box crashed...
                ...Oh, wait a minute, he already does.


More information about the cvs-src mailing list