bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getaddrinfo module conflict


From: Yoann Vandoorselaere
Subject: Re: getaddrinfo module conflict
Date: Thu, 20 Jul 2006 10:31:35 +0200

On Thu, 2006-07-20 at 10:17 +0200, Yoann Vandoorselaere wrote:
> On Wed, 2006-07-19 at 11:43 -0400, Derek R. Price wrote:
> > Yoann Vandoorselaere wrote:
> > > My suggestion is that unless we can get a full featured replacement of
> > > the getaddrinfo function within GnuLib (and thus replace any non
> > > conforming system implementation), we should not attempt to redefine any
> > > of the flags if the function is available on the system.
> > 
> > Though it would be nice to see a full-featured replacement, for now
> > leaving the definitions of AI_* flags which aren't implemented by the
> > replacement does sound simplest.  How's the attached patch look?
> 
> It sound good, although I'd like to see some minimalist support for
> AI_PASSIVE, which is used by a lot of application. Attached is a trivial
> patch that work for me.

The check for flags other than AI_CANNONNAME also need to be removed for
this patch to work. Attached is an updated diff.

-- 
Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies
Tel: +33 (0)8 70 70 21 58                  Fax: +33(0)4 78 42 21 58
http://www.prelude-ids.com

Attachment: getaddrinfo-ai_passive.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]