From owner-freebsd-doc Wed Mar 1 10:40:22 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 933B237BDC6 for ; Wed, 1 Mar 2000 10:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA72462; Wed, 1 Mar 2000 10:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from mail.ruhr.de (ns.ruhr.de [141.39.224.34]) by hub.freebsd.org (Postfix) with SMTP id B99D737BD88 for ; 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 X-Send-Pr-Version: 3.2 Subject: docs/17104: gethostbyname(3) contains a reference to libc(3) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17104 >Category: docs >Synopsis: gethostbyname(3) contains a reference to libc(3) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 1 10:40:03 PST 2000 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message