Peter Howkins [Mon, 2 Jul 2018 19:35:57 +0000 (20:35 +0100)]
dtwm: Coverity 88247
Peter Howkins [Mon, 2 Jul 2018 19:32:50 +0000 (20:32 +0100)]
dtwm: Coverity 88311
Peter Howkins [Mon, 2 Jul 2018 19:29:01 +0000 (20:29 +0100)]
dtwm: Coverity 87858
Jon Trulson [Mon, 2 Jul 2018 01:19:24 +0000 (01:19 +0000)]
slib/mp_rpc_server: TIRPC: force a listen() call on the server socket
With earlier versions of RPC and TIRPC it seems that svctcp_create()
calles listen() on the socket (as seen by debugger and strace).
Tooltalk expects this behavior.
However, with newer systems (ArchLinux 5/18+ and similar bleeding edge
versions of SuSE's equivalent: Tumbleweed), this behavior seems to
have changed.
ttsession goes into an infinite loop trying to accept() a connection
in the TIRPC library (via svc_getreqset()).
It appears listen() is no longer called on the socket when it is
created via svctcp_create(). The hack in this commit, always causes
listen() to be called on the socket, and seems to resolve the problem.
But it is a hack I think. I don't know if this is the correct
behavior of svctcp_create() or we were just lucky before.
Jon Trulson [Sun, 1 Jul 2018 02:09:49 +0000 (20:09 -0600)]
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.
Jon Trulson [Sun, 1 Jul 2018 01:10:10 +0000 (19:10 -0600)]
tt/mini_isam: remove all ancient sccsid blocks
Jon Trulson [Sun, 1 Jul 2018 00:57:17 +0000 (18:57 -0600)]
tt/mini_isam: use proper include, get rid of ultrix strdup
Jon Trulson [Fri, 29 Jun 2018 20:37:48 +0000 (14:37 -0600)]
ttsnoop: use tail arg -f rather than +0f
I cannot even find out what "+0f" is supposed to do (google fail), but
this seems a reasonable alternative that should work everywhere.
Jon Trulson [Fri, 29 Jun 2018 19:25:00 +0000 (13:25 -0600)]
ttsnoop: drag into a modern C++ century
This program has never worked very well, and it may still not work
very well. This commit removes the ancient C++ headers and uses
modern replacements with some changes required due to the different
interfaces.
It builds a lot cleaner, and no longer does stupid things like
deleteing char *, ostream.str()'s, and the like.
This program could be really useful if it worked well. Some thought
should be givien in the future to decouple this SW from dtappbuilder
and maybe just rewrite from scratch.
Peter Howkins [Fri, 29 Jun 2018 18:30:04 +0000 (19:30 +0100)]
Merge branch 'cde-next' of ssh://git.code.sf.net/p/cdesktopenv/code into cde-next
Peter Howkins [Fri, 29 Jun 2018 18:07:09 +0000 (19:07 +0100)]
libDtSearch: Remove unused C files that have now disapeared with removal of #defines
Peter Howkins [Fri, 29 Jun 2018 17:43:11 +0000 (18:43 +0100)]
libDtSearch: Convert to ANSI function definitions and use proper prototypes (which causes more warnings
Peter Howkins [Fri, 29 Jun 2018 15:16:21 +0000 (16:16 +0100)]
libDtSearch: Tidy up the LOCK and DBN macro madness
Peter Howkins [Fri, 29 Jun 2018 00:45:29 +0000 (01:45 +0100)]
libDtSearch: Untangle large numbers of TASK_ macros that were all unused code
Peter Howkins [Fri, 29 Jun 2018 00:04:55 +0000 (01:04 +0100)]
libDtSearch: remove NO_COUNTRY code which is always off for CDE
Peter Howkins [Thu, 28 Jun 2018 23:47:03 +0000 (00:47 +0100)]
libDtSearch: NO_TIMESTAMP is always on for CDE
Peter Howkins [Thu, 28 Jun 2018 23:45:23 +0000 (00:45 +0100)]
libDtSearch: SINGLE_USER is always defined for CDE
Peter Howkins [Thu, 28 Jun 2018 23:43:46 +0000 (00:43 +0100)]
libDtSearch: NO_TRANS is always on for CDE
Peter Howkins [Thu, 28 Jun 2018 23:34:56 +0000 (00:34 +0100)]
libDtSearch: Remove define ONE_DB which is always off for CDE
Peter Howkins [Thu, 28 Jun 2018 23:15:06 +0000 (00:15 +0100)]
libDtSearch: Remove optional code for NO_DBN which is not used on CDE
Peter Howkins [Thu, 28 Jun 2018 23:07:36 +0000 (00:07 +0100)]
libDtSearch: remove optional code MULTI_TASK that is not used on CDE
Jon Trulson [Thu, 28 Jun 2018 22:55:04 +0000 (16:55 -0600)]
Merge branch 'master' into cde-next
Peter Howkins [Thu, 28 Jun 2018 18:17:42 +0000 (19:17 +0100)]
libDtSearch: Enable compiling with const support, remove ability to build without const support.
Peter Howkins [Thu, 28 Jun 2018 17:59:15 +0000 (18:59 +0100)]
libDtSearch: Remove optional support for ancient DOS far pointer
Jon Trulson [Thu, 28 Jun 2018 04:48:30 +0000 (22:48 -0600)]
dtdocbook/tcl/tclUtil.c: fix merge error
Jon Trulson [Thu, 28 Jun 2018 04:30:28 +0000 (22:30 -0600)]
FreeBSD.cf, OpenBSD.cf: remove -Wno-deprecated-register, no longer needed
Jon Trulson [Thu, 28 Jun 2018 04:26:18 +0000 (22:26 -0600)]
lib/tt/mini_isam: remove register keyword
Jon Trulson [Thu, 28 Jun 2018 04:23:40 +0000 (22:23 -0600)]
dtdocbook/regexp.c, remove register keyword
Jon Trulson [Thu, 28 Jun 2018 00:05:34 +0000 (18:05 -0600)]
dtudcfonted, dtudcexch: delete from repository
Jon Trulson [Thu, 28 Jun 2018 00:02:47 +0000 (18:02 -0600)]
util/dttypes: remove register keyword
Jon Trulson [Thu, 28 Jun 2018 00:00:58 +0000 (18:00 -0600)]
nsgmls: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:59:51 +0000 (17:59 -0600)]
localized/util: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:54:24 +0000 (17:54 -0600)]
dtwm: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:52:01 +0000 (17:52 -0600)]
dtterm: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:49:12 +0000 (17:49 -0600)]
dtstyle: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:38:39 +0000 (17:38 -0600)]
dtsr: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:37:18 +0000 (17:37 -0600)]
dtscreen: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:32:57 +0000 (17:32 -0600)]
dtprintinfo: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:30:51 +0000 (17:30 -0600)]
dtpad: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:29:25 +0000 (17:29 -0600)]
dtmail: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:25:01 +0000 (17:25 -0600)]
dtlogin: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 23:18:06 +0000 (17:18 -0600)]
dtksh: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 22:57:54 +0000 (16:57 -0600)]
dtinfo: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 22:42:58 +0000 (16:42 -0600)]
dtinfo: remove TKTemplate.nd.c
Jon Trulson [Wed, 27 Jun 2018 22:37:15 +0000 (16:37 -0600)]
dtimsstart: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 22:32:54 +0000 (16:32 -0600)]
dtfile: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 22:26:13 +0000 (16:26 -0600)]
dtdocbook: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 22:14:33 +0000 (16:14 -0600)]
dtcm: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 22:10:16 +0000 (16:10 -0600)]
dtcalc: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 22:08:50 +0000 (16:08 -0600)]
dtappbuilder: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:58:39 +0000 (15:58 -0600)]
dtaction: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:55:44 +0000 (15:55 -0600)]
tt/bin: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:53:46 +0000 (15:53 -0600)]
tt/lib: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:30:28 +0000 (15:30 -0600)]
lib/pam: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:26:28 +0000 (15:26 -0600)]
lib/pam/examples/login: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:24:08 +0000 (15:24 -0600)]
lib/csa: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:15:59 +0000 (15:15 -0600)]
DtWidget: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:07:39 +0000 (15:07 -0600)]
DtTerm/util: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:06:10 +0000 (15:06 -0600)]
DtSvc/DtUtil2: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 21:03:37 +0000 (15:03 -0600)]
DtSvc/DtUtil1: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:55:20 +0000 (14:55 -0600)]
DtSvc/DtEncap: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:52:33 +0000 (14:52 -0600)]
DtSvc/DtCodelibs: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:48:29 +0000 (14:48 -0600)]
lib/DtSearch: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:37:24 +0000 (14:37 -0600)]
DtSearch/raima: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:22:00 +0000 (14:22 -0600)]
lib/DtPrint: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:19:02 +0000 (14:19 -0600)]
lib/DtHelp: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:18:31 +0000 (14:18 -0600)]
lib/DtHelp/jpeg: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 20:09:44 +0000 (14:09 -0600)]
lib/DtHelp/il: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 19:16:04 +0000 (13:16 -0600)]
examples/dtwsm: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 19:14:11 +0000 (13:14 -0600)]
util/dbtoman/instant: remove register keyword
Jon Trulson [Wed, 27 Jun 2018 19:10:34 +0000 (13:10 -0600)]
util/mkshadow: delete ancient unused utility
Jon Trulson [Wed, 27 Jun 2018 19:08:13 +0000 (13:08 -0600)]
makedepend: remove register keyword
Peter Howkins [Thu, 28 Jun 2018 03:25:29 +0000 (04:25 +0100)]
localized/util: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:24:58 +0000 (04:24 +0100)]
dttypes: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:24:28 +0000 (04:24 +0100)]
dtsr: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:24:03 +0000 (04:24 +0100)]
dtpad: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:23:35 +0000 (04:23 +0100)]
dthelp: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:23:07 +0000 (04:23 +0100)]
dtscreen: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:22:06 +0000 (04:22 +0100)]
dtterm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:21:25 +0000 (04:21 +0100)]
dtstyle: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:20:53 +0000 (04:20 +0100)]
dtpdmd: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:20:10 +0000 (04:20 +0100)]
dtpdm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:19:15 +0000 (04:19 +0100)]
dtimsstart: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:18:25 +0000 (04:18 +0100)]
dtsession: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:17:53 +0000 (04:17 +0100)]
dtwm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:16:41 +0000 (04:16 +0100)]
dtlogin: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:15:59 +0000 (04:15 +0100)]
dticon: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:15:16 +0000 (04:15 +0100)]
dtinfo: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:14:11 +0000 (04:14 +0100)]
dtfile/dtcopy: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:13:21 +0000 (04:13 +0100)]
dtfile: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:12:10 +0000 (04:12 +0100)]
dtdocbook: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:11:21 +0000 (04:11 +0100)]
dtcreate: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:10:42 +0000 (04:10 +0100)]
dtcm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:09:20 +0000 (04:09 +0100)]
dtcalc: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:08:35 +0000 (04:08 +0100)]
dtappbuilder: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:07:44 +0000 (04:07 +0100)]
dsdm: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:06:47 +0000 (04:06 +0100)]
libtt: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 03:01:19 +0000 (04:01 +0100)]
libDtTerm: Change to ANSI function definition
Peter Howkins [Thu, 28 Jun 2018 02:58:49 +0000 (03:58 +0100)]
libDtSvc: Change to ANSI function definitions
Peter Howkins [Thu, 28 Jun 2018 02:56:02 +0000 (03:56 +0100)]
libDtMrm: Change to ANSI function definitions