cdesktopenv/cde/lib/DtHelp
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
..
il
jpeg
AIX.lcx
Access.c
AccessCCDF.c
AccessCCDFI.h
AccessCCDFP.h
AccessSDL.c
AccessSDLI.h
AccessSDLP.h
Actions.c
AsciiSpc.c
AsciiSpcI.h
CCDFUtil.c
CCDFUtilI.h
CDE.lcx
Callbacks.c
Canvas.c
CanvasError.h
CanvasOs.c
CanvasOsI.h
CleanUp.c
CleanUpI.h
CvString.c
CvStringI.h
CvtToArrayP.h
Destroy.c
DestroyI.h
DtHelp.msg
Environ_c.c
FileListUtils.c
FileListUtilsI.h
FileUtils.c
Font.c
FontAttr.c
Format.c
FormatCCDF.c
FormatCCDFI.h
FormatI.h
FormatMan.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
FormatManI.h
FormatSDL.c
FormatSDLI.h
FormatTerm.c
FormatUtil.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
FormatUtilI.h
FreeBSD.lcx
GenUtils.c
GenUtilsP.h
GifUtils.c
GlobSearch.c
GlobSearchI.h
GlobSearchP.h
Graphics.c
GraphicsI.h
HP-UX.lcx
HelpAccess.c
HelpAccessI.h
HelpDialog.c
HelpDialogI.h
HelpDialogImageI.h
HelpErrorP.h
HelpI.h
HelpQuickD.c
HelpQuickDI.h
HelpUtil.c
HelpUtilI.h
HelpXlate.c
HelpXlate.h
Helpos.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
History.c
HistoryI.h
HourGlass.c
HyperText.c
HyperTextI.h
Imakefile
JpegUtils.c
Layout.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
LayoutUtil.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
LayoutUtilI.h
LinkMgr.c
LinkMgrI.h
Linux.lcx
Lock.h
Makefile.am
Messages.c
MessagesP.h
NetBSD.lcx
Obsolete.c
ObsoleteP.h
OpenBSD.lcx
PathArea.c
PathAreaI.h
Print.c
PrintI.h
Resize.c
ResizeI.h
SDLI.h
Selection.c
SelectionI.h
SetList.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
StringFuncs.c
StringFuncsI.h
SunOS.lcx
UtilSDL.c
UtilSDLI.h
VirtFuncs.c
VirtFuncsI.h
VolSelect.c
VolSelectI.h
XInterface.c
XInterfaceI.h
XUICreate.c
XbmUtils.c
bufio.c
comment.txt
decompress.c
fmt_tbl.msg
libDtHelp.elist
mapfile.reorder