From owner-cvs-all Thu Aug 9 5:19:23 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 7467B37B40B; Thu, 9 Aug 2001 05:19:10 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f79CIF236757; Thu, 9 Aug 2001 15:18:15 +0300 (EEST) (envelope-from ru) Date: Thu, 9 Aug 2001 15:18:15 +0300 From: Ruslan Ermilov To: Hajimu UMEMOTO Cc: Jim.Pirzyk@disney.com, sheldonh@starjuice.net, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/net gethostbyname.3 Message-ID: <20010809151815.A36094@sunbay.com> Mail-Followup-To: Hajimu UMEMOTO , Jim.Pirzyk@disney.com, sheldonh@starjuice.net, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <01080813273100.00624@snoopy> <20010809.063904.112320798.ume@mahoroba.org> <20010809095906.C91485@sunbay.com> <20010809.205147.104122969.ume@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010809.205147.104122969.ume@FreeBSD.org>; from ume@FreeBSD.org on Thu, Aug 09, 2001 at 08:51:47PM +0900 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Aug 09, 2001 at 08:51:47PM +0900, Hajimu UMEMOTO wrote: > >>>>> On Thu, 9 Aug 2001 09:59:06 +0300, > >>>>> Ruslan Ermilov said: > > ru> On Thu, Aug 09, 2001 at 06:39:04AM +0900, Hajimu UMEMOTO wrote: > ru> > >>>>> On Wed, 8 Aug 2001 13:27:31 -0700 > ru> > >>>>> Jim Pirzyk said: > ru> > > ru> > Jim.Pirzyk> Testing it out it does solve my problems. Thanks. So how > ru> > Jim.Pirzyk> does this patch work in that getaddrinfo came from the KAME > ru> > Jim.Pirzyk> project. Do we have to wait for the vendor branch to be > ru> > Jim.Pirzyk> upgraded with a new version of KAME that has this fix or > ru> > Jim.Pirzyk> should we patch getaddrinfo ourselves? > ru> > > ru> > I wish too see all gethostbyname() will be replaced by getaddrinfo() > ru> > in the future. I believe it is worth to get rid of the obstacles to > ru> > achieve it. I'll discuss with KAME guys about how to deal with it, > ru> > then I'll commit it into FreeBSD. > ru> > > ru> How about implementing these as wrappers to get{addr,name}info(3)? > > Sorry but I cannot imagin your idea. Dou you mean application may > call such wrapper function instead of getaddrinfo()? If so, it means > we create new API and it affects many applications. I think it > shouldn't. > Nope, I mean what if we implement gethostby*() using get*info(), internally? Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message