[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getaddrinfo module conflict
From: |
Yoann Vandoorselaere |
Subject: |
getaddrinfo module conflict |
Date: |
Wed, 19 Jul 2006 17:07:26 +0200 |
Hi,
There is a problem with the current version of the getaddrinfo module
since on certain system, the getaddrinfo() function is present but
certain flags (for example AI_ADDRCONFIG flags) are not available.
In this case, including the getaddrinfo.h GnuLib header will define the
missing flags, but the system function will return EAI_BADFLAGS as soon
as these are used.
This is a problem since some application already workaround architecture
where some flags, like AI_ADDRCONFIG, are missing. However, since these
flags now gets defined, unexpected behavior arise.
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.
Regards,
--
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
- getaddrinfo module conflict,
Yoann Vandoorselaere <=