Commit Graph

308 Commits

Author SHA1 Message Date
Peter Howkins
68986baef8 libDtSearch: Coverity 86698 2018-07-02 22:48:20 +01:00
Jon Trulson
c0388656dc tt/mini_isam: add new isam_prototypes.h include file and fix up problems
There were a variety of potential 64b problems due to the complete
lack of prototype declarations.  So, we add a file, isam_prototypes.h,
generated mostly by the 'cproto' tool.

We also fixed up some errors that having proper prototypes pointed
out, mainly in passing ints where pointers were expected and vice
versa.  The iserase() function was supposed to accept a char *, but
was defined as only accepting a char.  Fun stuff like that.
2018-06-30 20:13:39 -06:00
Jon Trulson
0d39bd186f tt/mini_isam: remove all ancient sccsid blocks 2018-06-30 19:10:10 -06:00
Jon Trulson
bc7e64195e tt/mini_isam: use proper include, get rid of ultrix strdup 2018-06-30 19:00:20 -06:00
Peter Howkins
1294f15d16 libDtSearch: Remove unused C files that have now disapeared with removal of #defines 2018-06-29 19:07:09 +01:00
Peter Howkins
32eb933929 libDtSearch: Convert to ANSI function definitions and use proper prototypes (which causes more warnings 2018-06-29 18:43:11 +01:00
Peter Howkins
bcdb2dd909 libDtSearch: Tidy up the LOCK and DBN macro madness 2018-06-29 16:16:21 +01:00
Peter Howkins
60edbd3491 libDtSearch: Untangle large numbers of TASK_ macros that were all unused code 2018-06-29 01:45:29 +01:00
Peter Howkins
86b9a0fee4 libDtSearch: remove NO_COUNTRY code which is always off for CDE 2018-06-29 01:04:55 +01:00
Peter Howkins
9d921ba219 libDtSearch: NO_TIMESTAMP is always on for CDE 2018-06-29 00:47:03 +01:00
Peter Howkins
a1ad4ae25b libDtSearch: SINGLE_USER is always defined for CDE 2018-06-29 00:45:23 +01:00
Peter Howkins
550f278889 libDtSearch: NO_TRANS is always on for CDE 2018-06-29 00:43:46 +01:00
Peter Howkins
162fd49971 libDtSearch: Remove define ONE_DB which is always off for CDE 2018-06-29 00:34:56 +01:00
Peter Howkins
e5b3c011c6 libDtSearch: Remove optional code for NO_DBN which is not used on CDE 2018-06-29 00:15:06 +01:00
Peter Howkins
605a21046a libDtSearch: remove optional code MULTI_TASK that is not used on CDE 2018-06-29 00:07:36 +01:00
Peter Howkins
af9f0e9033 libDtSearch: Enable compiling with const support, remove ability to build without const support. 2018-06-28 19:17:42 +01:00
Peter Howkins
144bca4af7 libDtSearch: Remove optional support for ancient DOS far pointer 2018-06-28 18:59:15 +01:00
Jon Trulson
d0dd809b74 lib/tt/mini_isam: remove register keyword 2018-06-27 22:26:18 -06:00
Jon Trulson
b0fd79a680 tt/bin: remove register keyword 2018-06-27 22:00:56 -06:00
Jon Trulson
34436c7725 tt/lib: remove register keyword 2018-06-27 22:00:56 -06:00
Jon Trulson
904a48b822 lib/pam: remove register keyword 2018-06-27 21:59:18 -06:00
Jon Trulson
d5eff36867 lib/pam/examples/login: remove register keyword 2018-06-27 21:59:18 -06:00
Jon Trulson
02c70c739d lib/csa: remove register keyword 2018-06-27 21:59:18 -06:00
Jon Trulson
3b1316112a DtWidget: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
b5a3c00671 DtTerm/util: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
00aafb206e DtSvc/DtUtil2: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
f446ca54e9 DtSvc/DtUtil1: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
dbef83212a DtSvc/DtEncap: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
11ad65226d DtSvc/DtCodelibs: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
57ce407976 lib/DtSearch: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
8e48100c12 DtSearch/raima: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
b9d605c8ea lib/DtPrint: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
5b5ac72691 lib/DtHelp: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
2760adaab3 lib/DtHelp/jpeg: remove register keyword 2018-06-27 21:58:04 -06:00
Jon Trulson
e9d0d91cad lib/DtHelp/il: remove register keyword 2018-06-27 21:58:04 -06:00
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