cdesktopenv/cde/lib/DtSearch
Lev Kujawski 7010b2c11b 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-01-31 16:17:13 -07:00
..
raima libDtSearch: Resolve GCC 10 errors about multiple definitions of global variables 2020-11-24 02:48:10 +00:00
Imakefile libDtSearch: Remove unused C files that have now disapeared with removal of #defines 2018-06-29 19:07:09 +01:00
Search.h Use POSIX macros for linux 2018-05-24 18:22:55 -06:00
SearchE.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
SearchP.h Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -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-01-31 16:17:13 -07: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-01-31 16:17:13 -07:00
boolpars.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
boolsrch.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
boolyac.y Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
cuslang.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
dbchange.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
dberr.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
dberr.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
delspace.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
dproto.h Fix typo in license headers 2018-04-28 12:30:20 -06:00
dtoe.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
dtoeinit.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
dtsearch.msg Fix various spelling errors 2018-04-22 12:14:43 -06:00
dtsrapi.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
dtsrdbrec.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
dtsrjoint.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
dtsrswab.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
dtsrutil.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
dtsrve.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07: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-01-31 16:17:13 -07:00
hdecode.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
hencode.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07: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-01-31 16:17:13 -07:00
lang.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
langmap.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
libDtSearch.elist Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
mrclean.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
msgs.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
msgutil.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
objdate.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
ocf.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
oekwic.c Fix typo in license headers 2018-04-28 12:30:20 -06:00
opendblk.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07: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 Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
tiny.han Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
tiny.ocf Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00
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-01-31 16:17:13 -07:00
vstfunct.c Fix typo in license headers 2018-04-28 12:30:20 -06:00