cdesktopenv/cde/lib/DtSearch
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
..
raima Fix erroneous uses of ${prefix} rather than $(CDE_INSTALLATION_TOP) 2020-03-23 13:10:07 -06:00
Imakefile libDtSearch: Remove unused C files that have now disapeared with removal of #defines 2018-06-29 19:07:09 +01:00
Makefile.am library versioning: use proper format and specify for ALL libraries 2019-12-04 18:09:22 -07:00
apndext.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
ausdopen.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
ausexit.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
bmstrstr.c lib/DtSearch: remove register keyword 2018-06-27 21:58:04 -06:00
boolpars.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
boolsrch.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
boolyac.y
cuslang.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
dbchange.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
dberr.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
delspace.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
dtoe.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
dtoeinit.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
dtsearch.msg Fix various spelling errors 2018-04-22 12:14:43 -06:00
dtsrapi.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
dtsrdbrec.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
dtsrjoint.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
dtsrswab.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
dtsrutil.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
dtsrve.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
endslash.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
fileman.c Last of the spelling fixed 2018-04-28 12:36:44 -06:00
globals.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
hdecode.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
hencode.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
hilite.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
iscompat.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
isduprec.c libDtSearch: Coverity 86459 2018-07-02 23:28:31 +01:00
jpn.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
lang.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
langmap.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
libDtSearch.elist
mrclean.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
msgs.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
msgutil.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
objdate.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
ocf.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
oekwic.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
opendblk.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
ophuf.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
readchar.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
strupr.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
tiny.dbd
tiny.han
tiny.ocf
tiny.txt Use /var/spool instead of /usr/spool and /var/mail instead of /usr/mail 2018-05-20 12:30:32 -06:00
userint.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
vedelete.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
vestatis.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
vstfunct.c Fix typo in license headers 2018-04-28 12:30:20 -06:00