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. |
||
|---|---|---|
| .. | ||
| Imakefile | ||
| Makefile.am | ||
| README | ||
| dtudcexch.msg | ||
| excutil.c | ||
| excutil.h | ||
| exportbdf.c | ||
| getbdffn.c | ||
| importbdf.c | ||
| selectx.c | ||
| selectxlfd.c | ||
| udcexc.c | ||
| udcexp.c | ||
| udcimp.c | ||
| xlfdutil.c | ||
README
$XConsortium: README /main/3 1996/10/17 01:48:23 cde-fuj $ /* * (c) Copyright 1995 FUJITSU LIMITED * This is source code modified by FUJITSU LIMITED under the Joint * Development Agreement for the CDEnext PST. * This is unpublished proprietary source code of FUJITSU LIMITED */ UDC data exchange utility README Source code and directory structure $(TOP)/cde/dtudcexch: Imakefile udcexc.c udcexp.c udcimp.c getbdffn.c excutil.c excutil.h selectx.c exportbdf.c importbdf.c The dtudcexch command uses following commands. dtaddcpf dtbdftocpf dtcpftobdf dtcpftogpf dtcpgpf dtfonteditor dtgpftobdf dtgpftocpf dtlsgpf The dtudcexch command uses following libraries. libfal.a liboakfuty.a