History log of /netbsd-current/bin/hostname/hostname.c
Revision Date Author Comments
# 1.21 13-Feb-2014 elric

Remove options added in 1.18, commitid: UhxHPgtT2Pzeg4Yw due to some
level of controversy about their inclusion.


# 1.20 19-Jul-2013 christos

fix error handling.


# 1.19 19-Jul-2013 wiz

Sort.


# 1.18 19-Jul-2013 roy

Add the following options
-A Display the FQDN of each address on all interfaces.
-a Display alias name(s) of the host.
-d Display the DNS domain.
-f Display the FQDN for the hostname.
-I Display each IP address on all interfaces.
-i Display the IP address(es) for the hostname.


# 1.17 29-Aug-2011 joerg

branches: 1.17.12;
Use __dead


# 1.16 19-Jul-2008 lukem

Remove the \n and tabs from the __COPYRIGHT() strings.


# 1.15 07-Aug-2003 agc

branches: 1.15.32;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# 1.14 16-Sep-2001 wiz

ANSIfy and KNF fixes, use {g,s}etprogname. Patch by Petri Koistinen.


# 1.13 27-Jul-1998 mycroft

Delint.


# 1.12 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.11 20-Jul-1997 christos

Add WARNS=1


# 1.10 07-Sep-1995 jtc

Sync with 4.4lite2


# 1.9 21-Mar-1995 cgd

convert to new RCS id conventions.


# 1.8 26-Sep-1994 mycroft

Make the usage messages more closely match the man pages.


# 1.7 22-Sep-1994 mycroft

Reference domainname(1), and check for too many arguments.


# 1.6 22-Sep-1994 mycroft

Merge 4.4-Lite version.


# 1.5 09-Sep-1993 jtc

Include appropriate header files to bring prototypes into scope.
Cleaned up man page.


# 1.4 01-Aug-1993 mycroft

Add RCS identifiers.


# 1.3 22-Mar-1993 cgd

changed "Id" to "Header" for rcsids


# 1.2 22-Mar-1993 cgd

added rcs ids to all files


# 1.1 21-Mar-1993 cgd

branches: 1.1.1;
Initial revision


# 1.1.1.3 07-Sep-1995 jtc

imported from 44lite2


# 1.1.1.2 21-Sep-1994 mycroft

Import original 4.4-Lite version.


# 1.1.1.1 21-Mar-1993 cgd

initial import of 386bsd-0.1 sources


# 1.15.32.1 17-Sep-2008 wrstuden

Sync with wrstuden-revivesa-base-2.


# 1.17.12.1 23-Jul-2013 riastradh

sync with HEAD