cdesktopenv/cde/lib/DtTerm/Term
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
..
Imakefile OpenIndiana and Solaris port 2014-10-28 13:40:11 -06:00
Makefile.am DtTerm: make it build 2019-10-26 16:34:29 -06:00
Term.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
TermAction.c Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00
TermAction.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
TermBuffer.c Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00
TermBuffer.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
TermBufferP.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
TermColor.c Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00
TermColor.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
TermData.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
TermEnhance.c Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00
TermEnhance.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
TermFunction.c Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00
TermFunction.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
TermFunctionKey.c Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00
TermFunctionKey.h Spelling fixes 2018-05-31 22:23:19 -06:00
TermFunctionKeyP.h Spelling fixes 2018-05-31 22:23:19 -06:00
TermLineData.data Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
TermLineData.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
TermParse.c Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00
TermParseTable.c Fix BSD and Sun problems after coverity fixes 2018-05-31 17:46:03 -06:00
TermParseTable.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
TermParseTableP.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
TermSendEsc.h remove OSF1 support 2018-05-24 14:25:26 -06:00
TermVersion.c Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00