History log of /netbsd/bin/hostname/hostname.c (Results 1 – 21 of 21)
Revision Date Author Comments
# fcb69782 13-Feb-2014 elric <elric@NetBSD.org>

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


# 6121559b 19-Jul-2013 christos <christos@NetBSD.org>

fix error handling.


# ac42bd09 19-Jul-2013 wiz <wiz@NetBSD.org>

Sort.


# 745f5325 19-Jul-2013 roy <roy@NetBSD.org>

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

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.

show more ...


# 007a7cf0 29-Aug-2011 joerg <joerg@NetBSD.org>

Use __dead


# 2fe2731d 20-Jul-2008 lukem <lukem@NetBSD.org>

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


# b5b29542 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

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


# 354d883b 16-Sep-2001 wiz <wiz@NetBSD.org>

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


# 9dc385be 28-Jul-1998 mycroft <mycroft@NetBSD.org>

Delint.


# 2beab49a 06-Jul-1998 mrg <mrg@NetBSD.org>

- 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

- 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

show more ...


# 51e9bcec 20-Jul-1997 christos <christos@NetBSD.org>

Add WARNS=1


# f859c958 07-Sep-1995 jtc <jtc@NetBSD.org>

Sync with 4.4lite2


# 49f0ad86 21-Mar-1995 cgd <cgd@NetBSD.org>

convert to new RCS id conventions.


# b82fefc7 26-Sep-1994 mycroft <mycroft@NetBSD.org>

Make the usage messages more closely match the man pages.


# ea92d19c 22-Sep-1994 mycroft <mycroft@NetBSD.org>

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


# 667b5ea1 22-Sep-1994 mycroft <mycroft@NetBSD.org>

Merge 4.4-Lite version.


# 0eee1ab6 10-Sep-1993 jtc <jtc@NetBSD.org>

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


# 8542364e 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# 06be6008 23-Mar-1993 cgd <cgd@NetBSD.org>

changed "Id" to "Header" for rcsids


# 346aa5dd 22-Mar-1993 cgd <cgd@NetBSD.org>

added rcs ids to all files


# 61f28255 21-Mar-1993 cgd <cgd@NetBSD.org>

initial import of 386bsd-0.1 sources