cdesktopenv/cde/programs/dtpdm
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
..
BuildOidHdrs.sh Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
Imakefile OpenIndiana and Solaris port 2014-10-28 13:40:11 -06:00
JobBox.c dtpdm: Change to ANSI function definitions 2018-06-28 04:20:10 +01:00
JobBox.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
Main.c dtpdm: Change to ANSI function definitions 2018-06-28 04:20:10 +01:00
MainWindow.c dtpdm: Change to ANSI function definitions 2018-06-28 04:20:10 +01:00
MainWindow.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
Makefile.am dtpdm: make it build 2019-11-22 12:12:23 -07:00
PdmMsgs.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
PdmMsgs.h Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
PdmOid.c dtpdm: Change to ANSI function definitions 2018-06-28 04:20:10 +01:00
PdmOid.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
PdmOidDefs.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
PdmOidDefs.in Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
PdmOidStrs.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
PdmXp.c dtpdm: Change to ANSI function definitions 2018-06-28 04:20:10 +01:00
PdmXp.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
PrinterBox.c dtpdm: Change to ANSI function definitions 2018-06-28 04:20:10 +01:00
PrinterBox.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
dtpdm.msg message catalogs: fix comment lines, also remove linux hack in merge.c 2012-09-03 15:12:57 -06:00
landscap.pm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
lduplex.pm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
lsimplex.pm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
ltumble.pm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
pduplex.pm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
portrait.pm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
psimplex.pm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
ptumble.pm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
rlandsca.pm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
rportrai.pm Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00