Commit Graph

23 Commits

Author SHA1 Message Date
OBATA Akio
2c9db8fe37 dtcm: include <iso8601.h> of libcsa to resolve type mismatch 2021-10-12 17:24:26 +09:00
Liang Chang
4190143c91 dtcm: fix a segfault when "Drag Appt" in the dtcm_editor. 2021-06-02 19:56:26 -06:00
Lev Kujawski
a6ea2a2d52 Centralize catgets() calls through MsgCat
CDE has relied upon catgets() implementations following a relaxed
interpretation of the XPG internationalization standard that ignored
-1, the standard error value returned by catopen, as the catalog
argument. However, this same behavior causes segmentation faults with
the musl C library.

This patch:

- Centralizes (with the exception of ToolTalk) all calls to catopen(),
  catgets(), and catclose() through MsgCat within the DtSvc library.
- Prevents calls to catgets() and catclose() that rely upon
  undefined behavior.
- Eliminates a number of bespoke catgets() wrappers, including multiple
  redundant caching implementations designed to work around a design
  peculiarity in HP/UX.
- Eases building CDE without XPG internationalization support by providing
  the appropriate macros.
2021-06-02 19:55:15 -06:00
Peter Howkins
b260bc25d5 dtcm: Coverity 89143 2018-07-13 17:13:18 +01:00
Peter Howkins
cc3d276d31 dtcm: Coverity 88917 2018-07-13 17:12:23 +01:00
Peter Howkins
c180f33d90 dtcm: Coverity 88860 2018-07-13 17:11:31 +01:00
Peter Howkins
10e4871825 dtcm: Coverity 88648 2018-07-13 17:10:26 +01:00
Peter Howkins
a0ee9a7fd2 dtcm: Coverity 88236 2018-07-13 17:07:56 +01:00
Peter Howkins
4111b85da8 dtcm: Coverity 88636 2018-07-13 16:40:04 +01:00
Peter Howkins
6d6f5098c5 dtcm: Coverity 89273 2018-07-13 16:29:19 +01:00
Peter Howkins
0da93b0d43 dtcm: Coverity 89273 2018-07-04 23:55:29 +01:00
Peter Howkins
8620b2e27b dtcm: Coverity 89021 2018-07-04 23:50:31 +01:00
Peter Howkins
d46a8e8d94 dtcm: Coverity 88165 2018-07-04 23:23:32 +01:00
Peter Howkins
4d0c2752f7 dtcm: Coverity 89212, 88188 and 88636 2018-07-04 22:11:44 +01:00
Jon Trulson
ca7d34b7ff dtcm: remove register keyword 2018-06-27 22:00:56 -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
Peter Howkins
85b7e823c4 dtcm: Resolve CID 87408 2015-01-15 11:59:20 +00:00
Peter Howkins
8baeb4c0a0 dtcm: Resolve 303 compiler warnings. 2015-01-13 14:22:25 +00:00
Peter Howkins
ca9da25d44 dtcm: Resolve all -Wformat-security warnings. 2012-08-29 20:16:01 +01:00
Peter Howkins
c884521619 Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
Peter Howkins
83b6996daa Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00