Brian Somers d5cf830ef1 Determine the host name using an array size of
MAXHOSTNAMELEN and call trimdomain() before implementing
the -u option.

This allows local hosts of a lan with a long domain name to
appear properly in utmp by base host name (w/o domain) rather
than by IP number.
1999-04-08 21:36:27 +00:00
..
1998-06-30 15:19:51 +00:00
1997-11-21 07:40:48 +00:00
1998-06-30 15:19:51 +00:00
1998-06-11 09:17:58 +00:00
1998-08-04 15:31:31 +00:00
1998-08-02 16:44:18 +00:00
1994-05-27 12:39:25 +00:00