Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2001 09:31:43 -0700
From:      Jim Pirzyk <Jim.Pirzyk@disney.com>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        Sheldon Hearn <sheldonh@starjuice.net>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/net gethostbyname.3
Message-ID:  <01080809314302.22597@snoopy>
In-Reply-To: <20010808191242.C10516@sunbay.com>
References:  <55998.997269012@axl.seasidesoftware.co.za> <01080808322800.22597@snoopy> <20010808191242.C10516@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01080809314302.22597>