From ue@nathan.ruhr.de  Wed Mar  1 10:33:02 2000
Return-Path: <ue@nathan.ruhr.de>
Received: from mail.ruhr.de (ns.ruhr.de [141.39.224.34])
	by hub.freebsd.org (Postfix) with SMTP id B99D737BD88
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  1 Mar 2000 10:32:57 -0800 (PST)
	(envelope-from ue@nathan.ruhr.de)
Received: (qmail 65107 invoked by alias); 1 Mar 2000 18:32:46 -0000
Received: (from ue@localhost)
	by nathan.ruhr.de (8.9.3/8.9.3) id RAA01840;
	Wed, 1 Mar 2000 17:54:10 +0100 (CET)
	(envelope-from ue)
Message-Id: <200003011654.RAA01840@nathan.ruhr.de>
Date: Wed, 1 Mar 2000 17:54:10 +0100 (CET)
From: ue@nathan.ruhr.de
Reply-To: ue@nathan.ruhr.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: gethostbyname(3) contains a reference to libc(3)
X-Send-Pr-Version: 3.2

>Number:         17104
>Category:       docs
>Synopsis:       gethostbyname(3) contains a reference to libc(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hmp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar  1 10:40:03 PST 2000
>Closed-Date:    Sat Apr 15 06:50:59 GMT 2006
>Last-Modified:  Sat Apr 15 06:50:59 GMT 2006
>Originator:     Udo Erdelhoff
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	4.0-CURRENT as of 27-FEB-2000

>Description:

The manualpage for gethostbyname contains a reference to 'libc(3)'.  We do
not have a seperate manualpage for libc, only intro(3). The reference should
be changed to point to that manualpage. The manualpages for endhostent(3),
gethostbyaddr(3), gethostbyname2(3), gethostent(3), herror(3), hstrerror(3)
and sethostent(3) are hard links to gethostbyname(3) and show the same
problem.

A patch to that effect has been included.

>How-To-Repeat:

	N/A

>Fix:

--- /usr/src/lib/libc/net/gethostbyname.3.orig	Mon Feb 28 20:10:33 2000
+++ /usr/src/lib/libc/net/gethostbyname.3	Mon Feb 28 20:11:45 2000
@@ -249,8 +249,8 @@
 and
 .Fn endhostent
 are redefined,
-when
-.Xr libc 3
+when libc (see
+.Xr intro 3 )
 is built to use only the routines to lookup in
 .Pa /etc/hosts
 and not the name server.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->phantom 
Responsible-Changed-By: phantom 
Responsible-Changed-When: Wed Mar 1 11:00:17 PST 2000 
Responsible-Changed-Why:  
It's time to have libc(3) manpage. I'll be tracking this process. 
Responsible-Changed-From-To: phantom->freebsd-doc 
Responsible-Changed-By: phantom 
Responsible-Changed-When: Thu Jan 23 08:01:19 PST 2003 
Responsible-Changed-Why:  
I think someone else may have enough time to work on libc(3) manpage. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=17104 
Responsible-Changed-From-To: freebsd-doc->ue 
Responsible-Changed-By: brueffer 
Responsible-Changed-When: Sun Feb 16 23:58:15 CET 2003 
Responsible-Changed-Why:  
ue is the originator and a committer himself for some time now :-) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17104 
Responsible-Changed-From-To: ue->hmp 
Responsible-Changed-By: hmp 
Responsible-Changed-When: Sat May 17 16:50:28 PDT 2003 
Responsible-Changed-Why:  
Gimme gimme gimme gimme! 8-) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17104 

From: "Siebrand Mazeland" <s.mazeland@xs4all.nl>
To: <bug-followup@FreeBSD.org>, <ue@nathan.ruhr.de>
Cc:  
Subject: Re: docs/17104: gethostbyname(3) contains a reference to libc(3)
Date: Sat, 31 Dec 2005 17:12:09 +0100

 It appears as if this PR is no longer current. Libc(3) is no longer
 Mentioned in the manual page for gethostbyname(3). I think it can
 be closed.
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/17104
 
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Apr 15 06:50:37 UTC 2006 
State-Changed-Why:  
A recent correspondant suggests that this PR is now moot. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=17104 
>Unformatted:
