From owner-cvs-src@FreeBSD.ORG Thu Oct 23 22:00:59 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9945E16A4B3; Thu, 23 Oct 2003 22:00:59 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7366443FAF; Thu, 23 Oct 2003 22:00:57 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id PAA29201; Fri, 24 Oct 2003 15:00:44 +1000 Date: Fri, 24 Oct 2003 14:59:23 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Stefan Farfeleder In-Reply-To: <20031024000432.GF609@wombat.fafoe.narf.at> Message-ID: <20031024145453.A8475@gamplex.bde.org> References: <200310231754.h9NHsH1k069480@repoman.freebsd.org> <20031024000432.GF609@wombat.fafoe.narf.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: Hajimu UMEMOTO cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/include netdb.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2003 05:00:59 -0000 On Fri, 24 Oct 2003, Stefan Farfeleder wrote: > On Thu, Oct 23, 2003 at 10:54:17AM -0700, Hajimu UMEMOTO wrote: > > ume 2003/10/23 10:54:17 PDT > > > > 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 */ > > s/EAINONAME/EAI_NONAME/ The broken line also has some style bugs: - space instead of tab after #define, unlike in at least nearby lines - first word of comment is capitalized, unlike in at least nearby lines Bruce