Commit Graph

335 Commits

Author SHA1 Message Date
Jon Trulson 050fd75e80 lib/DtSearch/raima/proto.h: fix OBSD build - don't redef system functions
Remove redeclaration of system functions (strlen, free, open, etc).
Use the system header files.  That's what they are for.
2018-07-09 13:11:33 -06:00
Jon Trulson 3d8e76a69f Merge branch 'master' into cde-next
Need to resync before folding current cde-next into master.
2018-07-06 13:19:33 -06:00
Jon Trulson cf86199b19 Stable release: 2.3.0 2018-07-06 12:05:20 -06:00
Jon Trulson 87ad4219da Merge branch 'master' into update-with-master
Resync one last time with master for 2.3 release tomorrow.
2018-07-05 14:18:07 -06:00
Peter Howkins adb9a3d8cd libDtHelp: Coverity 88440 2018-07-04 01:40:12 +01:00
Peter Howkins 1fb5110337 libDtHelp: 88550 2018-07-04 01:38:14 +01:00
Peter Howkins a7e09ae1c3 libDtHelp: Coverity 88665 2018-07-04 01:36:03 +01:00
Peter Howkins 9383267ded libDtHelp: Coverity 88906 2018-07-04 01:34:02 +01:00
Peter Howkins 25c12cad4a libDtHelp: Coverity 88813 2018-07-04 01:32:53 +01:00
Peter Howkins 49b69c257a libDtHelp: Coverity 89548 2018-07-04 01:31:19 +01:00
Peter Howkins 045643d4db libDtHelp: Coverity 88776 2018-07-04 01:29:49 +01:00
Peter Howkins 2a988f5ad3 libDtSearch: Coverity 86459 2018-07-02 23:28:31 +01:00
Peter Howkins 5b1c87fb43 libDtSearch: Coverity 86119 2018-07-02 23:26:51 +01:00
Peter Howkins 7ecbdc866c libDtSearch: Coverity 86602 2018-07-02 23:23:44 +01:00
Peter Howkins 96c6c5068a libDtSearch: Coverity 86426 2018-07-02 23:21:07 +01:00
Peter Howkins 013f452864 libDtSearch: Coverity 86816 2018-07-02 23:18:00 +01:00
Peter Howkins c96a2cfa51 libDtSearch: Coverity 87018 2018-07-02 23:15:57 +01:00
Peter Howkins 95d6b64800 libDtSearch: Coverity 176038 2018-07-02 23:13:43 +01:00
Peter Howkins aa1bfc0ab3 libDtSearch: Coverity 86579 2018-07-02 23:11:36 +01:00
Peter Howkins f0917ee2b5 libDtSearch: Coverity 87032 2018-07-02 23:09:29 +01:00
Peter Howkins 889650ea45 libDtSearch: Coverity 86944 2018-07-02 23:07:39 +01:00
Peter Howkins 0876476cae libDtSearch: Coverity 86856 2018-07-02 23:01:54 +01:00
Peter Howkins c8233c9200 libDtSearch: Coverity 86804 2018-07-02 22:59:03 +01:00
Peter Howkins d7225fde79 libDtSearch: Coverity 86780 2018-07-02 22:55:42 +01:00
Peter Howkins 5854fdca38 libDtSearch: Coverity 86768 2018-07-02 22:53:49 +01:00
Peter Howkins 85166ef293 libDtSearch: Coverity 86762 2018-07-02 22:51:16 +01:00
Peter Howkins 68986baef8 libDtSearch: Coverity 86698 2018-07-02 22:48:20 +01:00
Jon Trulson dc7807b13b 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.
2018-07-01 19:45:09 -06: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