cdesktopenv/cde/programs/dtstyle
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
..
Audio.c
Audio.h
Backdrop.c
Backdrop.h
Backdrops.src
ColorEdit.c
ColorEdit.h
ColorFile.c dtstyle: Remove duplicate definition of NumOfPalettes that was a) wrong b) causing issues on recent compilers 2020-11-23 18:28:01 +00:00
ColorFile.h
ColorMain.c dtstyle: Remove duplicate definition of NumOfPalettes that was a) wrong b) causing issues on recent compilers 2020-11-23 18:28:01 +00:00
ColorMain.h
ColorPalette.c
ColorPalette.h
Dtstyle.src
Dtwm.c
Dtwm.h
Font.c
Font.h
Help.c
Help.h
HelpCB.c
I18nEnv.c
I18nEnv.h
I18nMain.c
I18nMain.h
I18nUtil.c
I18nUtil.h
Imakefile
Keyboard.c
Keyboard.h
Main.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
Main.h
MainWin.c
MainWin.h
Makefile.am
Mouse.c
Mouse.h
OWsync.c
OWsync.h
Palettes.src
Protocol.c
Protocol.h
Resource.c
Resource.h
SaveRestore.c
SaveRestore.h
Screen.c
Screen.h
Startup.c
Startup.h
dtstyle.man
dtstyle.msg
nlsMsgChk.txt
nlsREADME.txt