cdesktopenv/cde/programs/dtcreate
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
..
AddFiletype.c dtcreate: Resolve GCC 10 errors about multiple definitions of global variables 2020-11-24 02:19:05 +00:00
AddFiletype.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
Confirmed.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
Confirmed.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
CreateActionAppShell.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
CreateActionAppShell.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
Dtcreate Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
ErrorDialog.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
ErrorDialog.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
FileCharacteristics.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
FileCharacteristics.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
Imakefile Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00
Makefile.am Remove $(TIRPCINC) from all Makefile.am files - it no longer exists 2019-11-20 18:52:29 -07:00
OpenFile.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
OpenFile.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
UxXt.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
UxXt.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
af_aux.c Use POSIX macros for linux 2018-05-24 18:22:55 -06:00
af_aux.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
ca_aux.c Use POSIX macros for linux 2018-05-24 18:22:55 -06:00
ca_aux.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
cmncbs.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
cmncbs.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
cmnrtns.c dtcreate: Change to ANSI function definitions 2018-06-28 04:11:21 +01:00
cmnrtns.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
cmnutils.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
cmnutils.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
dtcreate.ddf Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
dtcreate.h Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
dtcreate.msg correction of message files 2013-09-15 19:35:53 -06:00
dtcreate.sh Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
fileio.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
fileio.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
icon_selection_dialog.c Remove Unixware and openserver support 2018-05-20 12:13:07 -06:00
icon_selection_dialog.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
main.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
nlsREADME.txt Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
parser.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
parser.h Fix typo in license headers 2018-04-28 12:30:20 -06:00