public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* comments on the last changes
@ 2003-11-18  7:49 Ulrich Drepper
  0 siblings, 0 replies; only message in thread
From: Ulrich Drepper @ 2003-11-18  7:49 UTC (permalink / raw)
  To: Glibc hackers

-----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-----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-18  7:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-18  7:49 comments on the last changes Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).