gethostby* users

Topher javert42 at cs.byu.edu
Sun Oct 14 23:54:53 UTC 2007


Simo Sorce wrote:
[trimmed]
>> This debate has splintered a bit on the list, but it seems to me that
>> everybody's concern has to do with this unfamiliar sorting algorithm.
>> Am I right, or does somebody have another concern, unrelated to the
>> sorting algorithm?
> 
> Sorting is the only point we are discussing.
> 
>> Ulrich's last comment made me think that DNS results will be sorted a
>> lot less than people seem to think.  It also seems that the biggest
>> cause of this whole misunderstanding is that Ulrich appears to be the
>> only one who understands when and how this mysterious sorting algorithm
>> is applied.
> 
> Not mysterious at all, read the RFC (easier) and glibc source code and
> you'll know all about it.
> 
>> Ulrich: Is there a clear spec that outlines the behavior of this
>> function, or will we just have to go examine the source code?  I think
>> that if we all had a more realistic and concrete idea about how this
>> function performs, that we'd all sleep better tonight. :)
> 
> I didn't see the code diverge much from the RFC, but I didn't do a
> strict analysis either, just enough to be concerned about the artificial
> (for IPv4) difference between site-local and global scope addresses
> (which is dictated by the RFC). That's my principal concern, so far.
> 
> Simo.
> 

Thanks for the references.  I should have read through the RFC first.


-- 
Topher Fischer
GnuPG Fingerprint: 3597 1B8D C7A5 C5AF 2E19  EFF5 2FC3 BE99 D123 6674
javert42 at cs.byu.edu | http://www.thetopher.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20071014/72e2bd55/attachment.sig>


More information about the fedora-devel-list mailing list