cdesktopenv/cde/lib
Jon Trulson 8c1ad2d3a8 libtt: if local hostname lookup fails, default to localhost
A recurring problem, mainly on the BSD's, and also on some Linux
installations, is a failure for ttsession to start and any clients
trying to attach to it failing due to having a hostname that is not
associated with an IP address.

This is due to code which looks up the hostname, and if it does not
have a valid host record, then TT just fails.

This has required those users to add an alias for their host name in
their /etc/hosts file.

With this commit, this should no longer be necessary.  Now, if
_XGethostbyname() fails when looking up the local name, a default of
"localhost" is used, which should always exist.

This was run tested on Linux and FreeBSD 11.1.  It was compile tested
on OpenBSD 6.2.
2018-06-20 16:59:34 -06:00
..
DtHelp Spelling fixes 2018-05-31 22:23:19 -06:00
DtMrm Fix typo in license headers 2018-04-28 12:30:20 -06:00
DtPrint Spelling fixes 2018-05-31 22:23:19 -06:00
DtSearch Spelling fixes 2018-05-31 22:23:19 -06:00
DtSvc XPM: Replace calls to XmeXpm*() with regular Xpm*() 2018-06-14 16:50:57 -06:00
DtTerm libDtTerm: Fix for a coredump seen on OpenBSD 2018-06-13 13:27:46 -06:00
DtWidget Spelling fixes 2018-05-31 22:23:19 -06:00
DtXinerama Fix typo in license headers 2018-04-28 12:30:20 -06:00
csa Spelling fixes 2018-05-31 22:23:19 -06:00
pam Spelling fixes 2018-05-31 22:23:19 -06:00
tt libtt: if local hostname lookup fails, default to localhost 2018-06-20 16:59:34 -06:00
Imakefile libDtSvc: added Xinerama support to _DtMessageDialog 2016-12-31 15:14:43 -07:00