(rfc3484_sort): Make sure that even if qsort doesn't support

stable sorting out sorting here is stable by comparing service_order.
This commit is contained in:
Ulrich Drepper 2007-10-14 23:08:43 +00:00
parent dfcf64cedb
commit 8d62c8ab01
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
* sysdeps/posix/getaddrinfo.c (struct sort_result): Add
service_order.
(rfc3484_sort): Make sure that even of qsort doesn't support
stable sorting it is stable by comparing service_order.
(rfc3484_sort): Make sure that even if qsort doesn't support
stable sorting out sorting here is stable by comparing service_order.
(getaddrinfo): Initialize service_order.
* posix/tst-rfc3484.c (do_test): Adjust for addition of
service_order field to sorting structure.