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
..
1994-05-27 12:39:25 +00:00
1997-02-22 14:22:49 +00:00
1997-02-22 14:22:49 +00:00
1998-08-31 16:41:09 +00:00
1994-05-27 12:39:25 +00:00