From: "Ersek, Laszlo" <lacos-hjAHdpL4VZo5Z0SDYBDJZg@public.gmane.org>
To: Michael Kerrisk / Linux man-pages
<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: gethostbyname(3) / IPv6
Date: Thu, 4 Mar 2010 01:14:18 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.64.1003040102490.6496@login01.caesar.elte.hu> (raw)
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
next reply other threads:[~2010-03-04 0:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-04 0:14 Ersek, Laszlo [this message]
[not found] ` <Pine.LNX.4.64.1003040102490.6496-a7N6hpt6sEOGMAd2kvhVmjlnRINgEMlm@public.gmane.org>
2015-05-11 9:17 ` gethostbyname(3) / IPv6 Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.1003040102490.6496@login01.caesar.elte.hu \
--to=lacos-hjahdpl4vzo5z0sdybdjzg@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).