From: Ulrich Drepper Date: Sun, 14 Oct 2007 23:08:43 +0000 (+0000) Subject: (rfc3484_sort): Make sure that even if qsort doesn't support X-Git-Tag: cvs/fedora-glibc-20071015T0728~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d62c8ab01941113060039be65ff0b506f0194a2;p=thirdparty%2Fglibc.git (rfc3484_sort): Make sure that even if qsort doesn't support stable sorting out sorting here is stable by comparing service_order. --- diff --git a/ChangeLog b/ChangeLog index 71351283ad2..74e840a2158 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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.