cdesktopenv/cde/programs/dtudcexch
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
..
Imakefile Revert "dtudcfonted, dtudcexch: delete from repository" 2018-08-18 16:37:36 -06:00
Makefile.am Change "if SUN" conditionals in remaining Makefile.am files to "if SOLARIS" 2019-10-28 18:54:17 -06:00
README Revert "dtudcfonted, dtudcexch: delete from repository" 2018-08-18 16:37:36 -06:00
dtudcexch.msg Revert "dtudcfonted, dtudcexch: delete from repository" 2018-08-18 16:37:36 -06:00
excutil.c Revert "dtudcfonted, dtudcexch: delete from repository" 2018-08-18 16:37:36 -06:00
excutil.h Refactor and reimplement dtudcfonted 2018-08-18 16:37:36 -06:00
exportbdf.c Refactor and reimplement dtudcfonted 2018-08-18 16:37:36 -06:00
getbdffn.c Revert "dtudcfonted, dtudcexch: delete from repository" 2018-08-18 16:37:36 -06:00
importbdf.c Refactor and reimplement dtudcfonted 2018-08-18 16:37:36 -06:00
selectx.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
selectxlfd.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00
udcexc.c Revert "dtudcfonted, dtudcexch: delete from repository" 2018-08-18 16:37:36 -06:00
udcexp.c Revert "dtudcfonted, dtudcexch: delete from repository" 2018-08-18 16:37:36 -06:00
udcimp.c Revert "dtudcfonted, dtudcexch: delete from repository" 2018-08-18 16:37:36 -06:00
xlfdutil.c Centralize catgets() calls through MsgCat 2021-06-02 19:55:15 -06:00

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