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. |
||
|---|---|---|
| .. | ||
| Audio.c | ||
| Audio.h | ||
| Backdrop.c | ||
| Backdrop.h | ||
| Backdrops.src | ||
| ColorEdit.c | ||
| ColorEdit.h | ||
| ColorFile.c | ||
| ColorFile.h | ||
| ColorMain.c | ||
| 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 | ||
| 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 | ||