[Top][All Lists]

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

Incomplete getaddrinfo module

From: Yoann Vandoorselaere
Subject: Incomplete getaddrinfo module
Date: Thu, 15 Sep 2005 11:21:43 +0200


The getaddrinfo module in GnuLib will often result in broken application
behavior because it is really a simple replacement which fail to handle
very common getaddrinfo usage pattern.

A common example of why it might fail is:

  if (hints && (hints->ai_flags & ~AI_CANONNAME))
    /* FIXME: Support more flags. */
    return EAI_BADFLAGS;

This is not right since it tend to break application that trust the
GnuLib module to provide a viable getaddrinfo replacement. 

What is people opinion concerning an eventual drop of the current module
to replace it by the GLIBC implementation ?


Yoann Vandoorselaere <address@hidden>

reply via email to

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