linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gethostbyname(3) / IPv6
@ 2010-03-04  0:14 Ersek, Laszlo
       [not found] ` <Pine.LNX.4.64.1003040102490.6496-a7N6hpt6sEOGMAd2kvhVmjlnRINgEMlm@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ersek, Laszlo @ 2010-03-04  0:14 UTC (permalink / raw)
  To: Michael Kerrisk / Linux man-pages; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hi,

we were having a discussion in the comp.unix.programmer Usenet newsgroup, 
starting with Message-ID: 
<e8e1cb1d-9693-4803-bf29-b4828de384e0-nbjlO0B5Z98wq+9lhVFwFGB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>. 
Consequently, I'd like to report two bugs (in separate e-mails):

(2/2) gethostbyname(3) fails to resolve the IPv6 address "::1", but the 
manual page says: "If name is an IPv4 or IPv6 address, no lookup is 
performed and gethostbyname() simply copies name into the h_name field 
[...]".

Debian bug report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455762

glibc bug report:

http://sourceware.org/bugzilla/show_bug.cgi?id=5479

SUSv3 link for gethostbyname(3):

http://www.opengroup.org/onlinepubs/000095399/functions/gethostbyname.html

It seems that the glibc behavior is conformant, and the manual page is in 
error.

I'm using the manpages-dev package, version 3.05-1, under Debian Lenny. 
However, before sending this report, I've verified the bug's existence in 
the online page under

http://www.kernel.org/doc/man-pages/online/pages/man3/gethostbyname.3.html

If this goes anywhere on linux-man@vger, please keep me CC'd.

Thank you very much,
lacos
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-11  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-04  0:14 gethostbyname(3) / IPv6 Ersek, Laszlo
     [not found] ` <Pine.LNX.4.64.1003040102490.6496-a7N6hpt6sEOGMAd2kvhVmjlnRINgEMlm@public.gmane.org>
2015-05-11  9:17   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).