[PATCH] make getaddrinfo hint AI_ADDRCONFIG work
Ricard Wanderlof
ricard.wanderlof at axis.com
Mon Mar 3 14:42:24 UTC 2008
On Thu, 21 Feb 2008, sjhill at realitydiluted.com wrote:
> On Thu, Feb 21, 2008 at 05:13:28PM +0000, Joseph S. Myers wrote:
>>
>> No, glibc hasn't moved to GPLv3 yet. It's not moving until the glibc SC
>> has got suitable wording from the FSF for an exception to allow GPLv2-only
>> programs to continue to be linked with LGPLv3 glibc, and the FSF is being
>> extremely slow about producing wording for any GPLv3 exceptions at all.
>>
> Cool, thanks for the info Joe! So...Ricard go snag the code from
> glibc :).
Ok, almost done. Just a few issues before submitting a patch.
glibc uses getifaddrs() to accomplish this, which nicely enough is already
part of uClibc's libc/inet/ifaddrs.c, although it has been #if 0'd out as
it has not been needed before. Removing the #if 0's adds about 4.6 kB to
the size of the resulting .so file (which is already about 268 kB on our
architecture (CRISv32)). So should there be a config option to enable the
getaddrinfo AI_ADDRCONFIG hint to work, or is 4.6 kB too little for anyone
to worry about at this stage?
/Ricard
--
Ricard Wolf Wanderlöf ricardw(at)axis.com
Axis Communications AB, Lund, Sweden www.axis.com
Phone +46 46 272 2016 Fax +46 46 13 61 30
More information about the uClibc
mailing list