[uClibc 0000671]: gethostbyname and h_name vs h_aliases

bugs at busybox.net bugs at busybox.net
Sat Feb 18 19:50:15 UTC 2006


The following issue has been UPDATED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=671 
====================================================================== 
Reported By:                rfelker
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   671
Category:                   Networking Support
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             01-30-2006 19:09 PST
Last Modified:              02-18-2006 11:50 PST
====================================================================== 
Summary:                    gethostbyname and h_name vs h_aliases
Description: 
uClibc resolver's gethostbyname does not return the requested name as
an alias, but instead returns the canonical name twice. glibc's
gethostbyname has a similar bug (at least in the old old version I use),
where it returns the requested name
with the domain name appended (to make a FQDN) as an alias, but not
the original name itself. Both contradict POSIX, which says that the
name argument passed to gethostbyname must be in the alias list.

====================================================================== 

---------------------------------------------------------------------- 
 rfelker - 01-30-06 19:14  
---------------------------------------------------------------------- 
Category is wrong. Should be Standards Compliance but I can't figure out
how to correct it after submitting. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-30-06 19:09  rfelker        New Issue                                    
01-30-06 19:09  rfelker        Status                   new => assigned     
01-30-06 19:09  rfelker        Assigned To               => uClibc          
01-30-06 19:14  rfelker        Note Added: 0001020                          
02-18-06 11:50  vapier         Category                 Architecture Specific =>
Networking Support
======================================================================




More information about the uClibc-cvs mailing list