This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


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

Re: [PATCH] getaddrinfo(): option to not sort IPv4 addresses


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

Aurelien Jarno wrote:
> In Debian we have added a new option to /etc/gai.conf (disabled by
> default) to ignore this rule for IPv4 addresses. Please find the patch
> below in case you are also unhappy about this behaviour.

No freaking way!  The reason we have that sorting is to get consistency.
 I won't add such an option to disturb it.  Not to sort is completely,
utterly wrong since the order in which addresses are returned from the
service are more or less random.

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

iD8DBQFGxxMh2ijCOnn/RHQRAgujAKCuIDfhu7Qq1oR/wZNGhsI99mD+ewCeNNpS
p7rzjjU7ByHl0bjQ2u/p05M=
=MJ4r
-----END PGP SIGNATURE-----


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