[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: "Jared J. Yanovich" <jaredy_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Fri, 22 Jul 2005 22:15:49 -0600 (MDT)
CVSROOT: /cvs
Module name: src
Changes by: jaredy_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2005/07/22 22:15:49
Modified files:
lib/libc/net : gethostnamadr.c
Log message:
*hostent() fixes:
- Make _gethtent() static
- _gethtbyname() is dead code (succeeded by _gethtbyname2), kill it
- _gethtent() requires setting the address family field of the
file-scope variable `host' to that of the desired type of the entry
being searched for. Change the behavior to enforce this if it is not
AF_UNSPEC, which will now allow stepping through entries, and set it
to specific values everywhere else.
help & ok millert
Visit your host, monkey.org