This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

comments on the last changes


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

I would have sent this out earlier, but we had some interruption of
email over the weekend so here we go.

The regexec change I added require changes in the locale format.  One
more field is added in the locale files.  No big deal, just receate
them.  The file magic changed, so no wrong data is loaded.  But there is
one problem: make check uses the locale.alias file of the system.
Loading it is not affected by LOCPATH.  But this file contains entries
for nb_NO to map to no_NO.  This is now problematic, since the real name
of the locale is nb_NO.  You'll have to replace the entries in the
systems locale.alias file with something better or just remove them.

The second comment is about the getaddrinfo changes I committed today.
Support for RFC 3484 is really needed in an IPv6 world.  Unfortunately a
userlevel implementation is quite expensive.  As you can see from the
added code, we need 4 additional syscalls per returned address and then
the cost for the comparison.  The results are well worth the effortÂ.  I
am nevertheless looking for methods to reduce the cost.  Hopefully the
kernel will help a bit.


[Â] Try resolving an host name which has an IPv4 and IPv6 address with a
getaddrinfo call without the AI_ADDRCONFIG flag set on a machine with
only IPv4 interfaces.  Before, the IPv6 address was returned first.  Any
client program therefore tried unsuccessfully to use it.  Now the IPv4
address is first.

- -- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/uc8c2ijCOnn/RHQRAmwsAJ40qm10zTePiVdTPD///+F6EYsctQCeJshI
KrC7Hi7B4MnGT834qy9rKv0=
=MqXl
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]