HardenedBSD/lib/libutil
Brooks Davis 72bd741cfc When removing the local domain, only do so when the result will be a
host name.  This is matches the documented behaviro.  The previous
behavior would remove the domain name even if the result retained a dot.

This fixes rsh connections from a.example.com to example.com.

Reviewed by:	ceri (at least the concept)
2005-10-05 04:42:20 +00:00
..
_secure_path.3
_secure_path.c
auth.3
auth.c
auth.conf.5
fparseln.3
fparseln.c
humanize_number.3
humanize_number.c
libutil.h
login_auth.3
login_auth.c
login_cap.3
login_cap.c
login_cap.h
login_class.3
login_class.c
login_crypt.c
login_ok.3
login_ok.c
login_times.3
login_times.c
login_tty.3
login_tty.c
login.3
login.c
login.conf.5
logout.3
logout.c
logwtmp.3
logwtmp.c
Makefile
pidfile.3
pidfile.c
property.3
property.c
pty.3
pty.c
pw_util.c
realhostname_sa.3
realhostname.3
realhostname.c
stub.c
trimdomain.3
trimdomain.c
uucplock.3
uucplock.c