cdesktopenv/cde/programs/dtfile
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
..
dtcopy remove ultrix support 2018-09-30 17:27:04 -06:00
ChangeDir.c dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
ChangeDir.h
ChangeDirP.c Last of the spelling fixed 2018-04-28 12:36:44 -06:00
Command.c dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
Common.c
Common.h
Desktop.c dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
Desktop.h
Directory.c dtfile: Remove define MULTIBYTE which is always on for CDE 2018-06-25 01:24:31 +01:00
DtSvcInternal.h Add missing license headers on *.hh files and others 2018-05-12 15:49:13 -06:00
Dtfile
Encaps.c dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
Encaps.h
File.c dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
FileDialog.c remove OSF1 support 2018-05-24 14:25:26 -06:00
FileManip.c remove ultrix support 2018-09-30 17:27:04 -06:00
FileMgr.c dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
FileMgr.h
FileOp.c remove OSF1 support 2018-05-24 14:25:26 -06:00
Filter.c
Filter.h
FilterP.c
Find.c remove ultrix support 2018-09-30 17:27:04 -06:00
Find.h
FindP.c
Help.c
Help.h
HelpCB.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
HelpP.c
IconWindow.c dtfile: Add scroll wheel support 2019-10-14 14:34:56 -06:00
IconicPath.c
IconicPath.h
IconicPathP.h
Imakefile Remove hpversion.h from repository 2018-10-06 17:00:38 -06:00
Main.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
Main.h remove ultrix support 2018-09-30 17:27:04 -06:00
Menu.c dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
MkDir.c dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
ModAttr.c Last of the spelling fixed 2018-04-28 12:36:44 -06:00
ModAttr.h
ModAttrP.c remove OSF1 support 2018-05-24 14:25:26 -06:00
MultiView.c
MultiView.h
OverWrite.c
Prefs.c
Prefs.h
PrefsP.c
SharedMsgs.c Centralize catgets() calls through MsgCat 2021-01-31 16:17:13 -07:00
SharedMsgs.h
SharedProcs.c dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
SharedProcs.h dtfile: remove register keyword 2018-06-27 22:14:51 -06:00
ToolTalk.c dtfile: Change to ANSI function definitions 2018-06-28 04:13:21 +01:00
Trash.c dtfile: Fix up CopyCheckDeletePermission() and CheckDeletePermission 2018-08-25 17:38:48 -06:00
Utils.c remove OSF1 support 2018-05-24 14:25:26 -06:00
dterror.src
dtfile.config.cpp
dtfile.man
dtfile.msg Spelling fixes 2018-05-31 22:23:19 -06:00
dtfile_error.cpp
fsDialog.c remove OSF1 support 2018-05-24 14:25:26 -06:00
mapfile.reorder
nlsMsgChk.txt
nlsREADME.txt