Home | History | Annotate | Download | only in common
History log of /src/usr.sbin/ypserv/common/localhostname.c
RevisionDateAuthorComments
 1.9  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.8  06-Jul-2002  wiz branches: 1.8.30;
ANSIfy, remove __P().
 1.7  09-Dec-2000  thorpej Rewrite this to use getaddrinfo(), and to use the canonical name of the
host rather than the hostname as returned by gethostname() if the hostname
does not appear to be fully qualified.
 1.6  06-Jul-1998  mrg - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.5  23-Apr-1998  kleink Use <sys/param.h> instead of <sys/types.h>: <netdb.h> and MAXHOSTNAMELEN are
not related to each other, and it should not be assumed that inclusion of the
former makes visible the latter.
 1.4  13-Oct-1997  lukem - hack ypdb_open() to try the standard hash (for sendmail's aliases.db)
if the initial open fails with EFTYPE. if a different database
format is found to be more efficient, just add the code to open it
prior to that of the other formats; this maintains backward
compatibility with older databases whilst providing new functionality...
- add rcsid's
 1.3  30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.2  18-Jul-1997  thorpej Fix compiler warnings (and an awful lot of annoying little bugs).
 1.1  09-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1  09-Aug-1996  thorpej A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
 1.8.30.1  18-May-2008  yamt sync with head.

RSS XML Feed