From owner-cvs-all Wed Aug 8 9:31:55 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.disney.com (mail.disney.com [204.128.192.15]) by hub.freebsd.org (Postfix) with ESMTP id 51C0237B401; Wed, 8 Aug 2001 09:31:47 -0700 (PDT) (envelope-from Jim.Pirzyk@disney.com) Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f78GUue07225; Wed, 8 Aug 2001 09:30:56 -0700 (PDT) Received: from [172.30.50.1] by pain.corp.disney.com with ESMTP; Wed, 8 Aug 2001 09:32:44 -0700 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by pecos.fa.disney.com (8.11.3/8.11.3) with ESMTP id f78GYms12417; Wed, 8 Aug 2001 09:34:48 -0700 (PDT) Received: from mercury.fan.fa.disney.com (mercury.fan.fa.disney.com [153.7.119.1]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id JAA25593; Wed, 8 Aug 2001 09:31:44 -0700 (PDT) (envelope-from Jim.Pirzyk@disney.com) Received: from snoopy.fan.fa.disney.com by mercury.fan.fa.disney.com; Wed, 8 Aug 2001 09:31:43 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Jim Pirzyk Organization: Walt Disney Feature Animation To: Ruslan Ermilov Subject: Re: cvs commit: src/lib/libc/net gethostbyname.3 Date: Wed, 8 Aug 2001 09:31:43 -0700 X-Mailer: KMail [version 1.2] Cc: Sheldon Hearn , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <55998.997269012@axl.seasidesoftware.co.za> <01080808322800.22597@snoopy> <20010808191242.C10516@sunbay.com> In-Reply-To: <20010808191242.C10516@sunbay.com> MIME-Version: 1.0 Message-Id: <01080809314302.22597@snoopy> Content-Transfer-Encoding: 8bit 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 Wednesday 08 August 2001 09:12 am, Ruslan Ermilov wrote: > On Wed, Aug 08, 2001 at 08:32:28AM -0700, Jim Pirzyk wrote: > > On Wednesday 08 August 2001 04:10 am, Sheldon Hearn wrote: > > > On Wed, 08 Aug 2001 04:05:47 MST, Ruslan Ermilov wrote: > > > > Modified files: > > > > lib/libc/net gethostbyname.3 > > > > Log: > > > > Urge the reader to start using getaddrinfo(3) and getnameinfo(3) > > > > protocol-independant functions that don't use static memory area. > > > > > > And which _rock_! > > > > Err, not quite. They do not use the DNS sortlist functionallity, > > nor do they check to see what subnet the host and remote host > > has in common to use that address first. > > This would be the #1 reason I would not use them. See PR bin/27939. > > This is the implementation bug that should ideally be fixed. But > this does not mean that this interface is bad, because DNS is one I was just commenting on that the function "_rock_"s. I agree that it should be fixed (and I have taken a cursory (sp?) look into it, but I did not see any simple fix). - JimP -- --- @(#) $Id: dot.signature,v 1.10 2001/05/17 23:38:49 Jim.Pirzyk Exp $ __o Jim.Pirzyk@disney.com ------------- pirzyk@freebsd.org _'\<,_ Senior Systems Engineer, Walt Disney Feature Animation (*)/ (*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message