[PATCH] make getaddrinfo hint AI_ADDRCONFIG work
Ricard Wanderlof
ricard.wanderlof at axis.com
Fri Feb 22 14:08:23 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 :).
Have just looked a trifle at it, seems like glibc relies on the
getifaddrs() in libc/inet/ifaddrs.c, but that function and other parts of
the file have been #if 0'd out as they weren't the reason the file was
lifted into uClibc in the first place.
While I hope it's possible to reinstate the missing parts (including two
ifaddrs.h files which uClibc doesn't yet have), one issue might be that it
increases the code size perhaps unnecessarily for many users. Perhaps the
whole fix should be a selectable option in the config if this is the case?
/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