Commit Graph

273 Commits

Author SHA1 Message Date
Peter Howkins 020d592338 libtt: Change to ANSI function definitions 2018-06-28 04:06:47 +01:00
Peter Howkins 6b09b19351 libDtTerm: Change to ANSI function definition 2018-06-28 04:01:19 +01:00
Peter Howkins ba513278b9 libDtSvc: Change to ANSI function definitions 2018-06-28 03:58:49 +01:00
Peter Howkins a5fa1313c4 libDtMrm: Change to ANSI function definitions 2018-06-28 03:56:02 +01:00
Peter Howkins e6f38a9910 libcsa: Change to ANSI function definitions 2018-06-28 03:54:49 +01:00
Peter Howkins e43dbc5460 libDtHelp: Change to ANSI function definitions 2018-06-28 03:53:31 +01:00
chase 6bf175ef2d Remove apollo support 2018-06-24 16:22:37 -06:00
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
Jon Trulson ac883b6972 FreeBSD 11: Fix clang (v6) builds
While CDE builds fine with gcc6 on FreeBSD 11, the default clang build
was broken in a few places.  This commit allows CDE to build now using
the default clang 6 system compiler.
2018-06-14 18:32:35 -06:00
Jon Trulson 825a504a11 XPM: Replace calls to XmeXpm*() with regular Xpm*()
This is no longer needed on modern Motif's.
2018-06-14 16:50:57 -06:00
Jon Trulson c1bef9e8d6 libDtTerm: Fix for a coredump seen on OpenBSD 2018-06-13 13:27:46 -06:00
Jon Trulson 0ec25848e9 cde: change version to 2.2.4a, for a development release 2018-06-08 13:03:39 -06:00
Jon Trulson a05ab67e12 XlationSvc: remove a "'" added in previous spelling commit that causes warnings 2018-05-31 22:23:19 -06:00
chase 809c3d8bb6 Spelling fixes 2018-05-31 22:23:19 -06:00
Ulrich Wilkens 297b6bd845 Fix warnings on FreeBSD 2018-05-31 22:04:08 -06:00
Ulrich Wilkens 07f272122d Fix Linux rpc problems with new glibc 2018-05-31 18:00:22 -06:00
Ulrich Wilkens 16fbb15ecc Fix BSD and Sun problems after coverity fixes 2018-05-31 17:46:03 -06:00
Jon Trulson 3495287b78 tt_xdr_utils: fix up some warnings 2018-05-25 11:16:04 -06:00
Jon Trulson 7f9634010b tt_old_db: use TT_DB_OK instead of NULL 2018-05-25 10:23:18 -06:00
Jon Trulson 77cdabb8f6 TermPrimSetUtmp: fix lost define broken by last patch 2018-05-24 18:52:53 -06:00
chase 4f5e7fe5e3 Use POSIX macros for linux 2018-05-24 18:22:55 -06:00
chase 164e695cd0 remove OSF1 support 2018-05-24 14:25:26 -06:00
chase 0fa51f280f Use /var/spool instead of /usr/spool and /var/mail instead of /usr/mail 2018-05-20 12:30:32 -06:00
chase 07900bd93b Remove Unixware and openserver support 2018-05-20 12:13:07 -06:00
chase 8a4f389634 Remove UXPDS support 2018-05-15 20:27:22 -06:00
chase 3ccf3a8b86 Add missing license headers on *.hh files and others 2018-05-12 15:49:13 -06:00
chase 33d2749ea3 Last of the spelling fixed 2018-04-28 12:36:44 -06:00
chase 6d3a19d8f9 Even more spelling fixed 2018-04-28 12:36:33 -06:00
chase 1fe5a550b2 Fix typo in license headers 2018-04-28 12:30:20 -06:00
chase 0aa8780fa1 Small spelling fixes 2018-04-25 19:40:19 -06:00
Peter Howkins 9088d6b54e libtt: Fixes for Coverity fixes that I thought I'd already fixed. 2018-04-24 00:05:56 +01:00
Peter Howkins 68de09848b Merge branch 'cde-fixups-1' of ssh://git.code.sf.net/p/cdesktopenv/code into cde-fixups-1 2018-04-23 02:21:30 +01:00
chase 07722f5c13 More spelling fixes 2018-04-22 12:15:08 -06:00
chase 1817f335c6 Fix various spelling errors 2018-04-22 12:14:43 -06:00
Peter Howkins 22071fd62a libtt: Further coverity fixes 2018-04-20 22:57:47 +01:00
Peter Howkins 02d43dabe6 libtt: Coverity fixes related to uninitialised fields in classes. 2018-04-18 01:28:03 +01:00
Peter Howkins caef8edac0 various: You cannot use the destination of snprintf as one of the srcs, undefined 2018-04-14 01:23:48 +01:00
Peter Howkins fee6003be1 libtt: More coverity fixes 2018-04-13 19:08:50 +01:00
Jon Trulson 17101b6f4c Enable TIRPC support for Linux
This is enabled by default.  To disable, add:

in the config/cf/site.def or host.def file.

You will need to have the libtirpc-dev package installed.

The benefit is that you will no longer need to run rpcbind in insecure
mode (the -i option).  There are other benefits we may be able to take
advantage of in the future, like supporting IPV6 for ToolTalk.
2018-04-12 21:00:34 -06:00
Peter Howkins 691dffb076 lidtsvc: coverity fixes 2018-04-12 01:38:02 +01:00
Peter Howkins 91bb9a037a libtt: resolve coverity issues related to double close() 2018-04-12 00:04:13 +01:00
Peter Howkins 30ad8e35e5 libtt: Resolve coverity warnings 2018-04-11 19:31:03 +01:00
Jon Trulson f4e3cb8327 dthelp/FormatUtils: fix coredump in dthelpgen due to free() of a bad address 2018-04-10 16:30:25 -06:00
Peter Howkins ccab0597ed libdtterm: Resolve coverity issues 2018-04-04 19:48:23 +01:00
Jon Trulson 4e61c62742 libDtSearch/dtsrapi.c: Coverity CID 86857; dest buf too small 2018-04-02 17:02:16 -06:00
Peter Howkins acc3d8868a libdtsvc: Resolve coverity warnings related to 'dereference before null check' related to free() 2018-04-02 22:10:46 +01:00
Peter Howkins b0c5941e3e libdtsvc: Compiler warning prevention 2018-04-02 21:31:50 +01:00
Jon Trulson 78110e7921 libtt/isrepair.c: coverity CID 86705; uninit ptr read 2018-04-01 14:25:34 -06:00
Jon Trulson 5729327cc8 dtexec,DtSvc/MsgLog.c: coverity CID 89585; resource leak 2018-04-01 13:54:22 -06:00
Jon Trulson 9412da725b libtt/tt_file_system.C: coverity CID 86024; array vs singlton 2018-03-31 19:05:35 -06:00