/[base]
ViewVC logotype

Revision 305037


Jump to revision: Previous Next
Author: ache
Date: Tue Aug 30 00:57:57 2016 UTC (7 years, 10 months ago)
Changed paths: 2
Log Message:
MFC r304911

The formal behavior of qsort is unstable with regard to objects that
are equal. Unfortunately, RFC 3484 requires that otherwise equal objects
remain in the order supplied by the DNS server. The present code attempts
to deal with this by returning -1 for objects that are equal (i.e.,
returns that the first parameter is less then the second parameter).
Unfortunately, the qsort API does not state that the first parameter
passed in is in any particular position in the list.

PR:     212122
Submitted by:   Herbie.Robinson@stratus.com


Changed paths

Path Details
Directorystable/10/ modified , props changed
Directorystable/10/lib/libc/net/getaddrinfo.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27