[PATCH] make getaddrinfo hint AI_ADDRCONFIG work

Khem Raj kraj at mvista.com
Mon Mar 3 17:17:29 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ricard Wanderlof wrote:
| 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?

Addding option would be a good thing to do in my opinion.

- -Khem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzDKpUjbQJxVzeZQRAjKpAJ4pUSJ9SDxbFjB2ASGmsTbfuGst3ACfYiAJ
QAR6z91vLQMXh5KdrthC8dU=
=g0Ng
-----END PGP SIGNATURE-----



More information about the uClibc mailing list