]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
* sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order
authorUlrich Drepper <drepper@redhat.com>
Thu, 10 Jan 2008 20:00:52 +0000 (20:00 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 10 Jan 2008 20:00:52 +0000 (20:00 +0000)
commit0efd19566da2186c571dae4807afbd4db3356e0a
tree8ffce6d9985b00b967db1eca0c0b3cfafc2265eb
parentab355d9aa5186937757b20b93f7d52ea3926427a
* sysdeps/posix/getaddrinfo.c (sort_results): Remove service_order

field.  Use sockaddr_in6 for source_addr.
(get_scope): Change type of parameter to sockaddr_in6.  Adjust.
(match_prefix): Likewise.
(get_label): Likewise.
(get_precedence): Likewise.
(rfc3484_sort): Change to use indirect access to results array.
Adjust to use of sockaddr_in6.  Replace service_order test with
simple index comparison.
(getaddrinfo): Define order array.  Initialize it.  Don't initialize
service_order field.  Adjust qsort_t calls.  Access sorted result
array indirectly through order array.
* posix/tst-rfc3484.c: Adjust for change of rfc3484_sort.
* posix/tst-rfc3484-2.c: Likewise.
* posix/tst-rfc3484-3.c: Likewise.
ChangeLog
posix/tst-rfc3484-2.c
posix/tst-rfc3484-3.c
posix/tst-rfc3484.c
sysdeps/posix/getaddrinfo.c