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
Makefile.am library versioning: use proper format and specify for ALL libraries 2019-12-04 18:09:22 -07:00
apndext.c
ausdopen.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
ausexit.c
bmstrstr.c
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
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
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
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
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
fileman.c
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
iscompat.c
isduprec.c
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
libDtSearch.elist
mrclean.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
msgs.c
msgutil.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
objdate.c
ocf.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
oekwic.c
opendblk.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
ophuf.c
readchar.c
strupr.c
tiny.dbd
tiny.han
tiny.ocf
tiny.txt
userint.c
vedelete.c
vestatis.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
vstfunct.c