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.
#
# $XConsortium: README /main/3 1995/11/06 17:12:11 rswiston $
#
# %W% %G% cde_app_builder/src/ab
#
# RESTRICTED CONFIDENTIAL INFORMATION:
#
# The information in this document is subject to special
# restrictions in a confidential disclosure agreement between
# HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
# document outside HP, IBM, Sun, USL, SCO, or Univel without
# Sun's specific written approval. This document and all copies
# and derivative works thereof must be returned or destroyed at
# Sun's request.
#
# Copyright 1993 Sun Microsystems, Inc. All rights reserved.
#
#
For running the AppBuilder (ab), do the following:
--------------------------------------------------
1. setenv XAPPLRESDIR to
<AB_WORK_SPACE>/cose/unity1/cde_app_builder/src/ab
2. (optional) setenv XENVIRONMENT to
<AB_WORK_SPACE>/cose/unity1/cde_app_builder/src/ab/Ab
Do this only if you plan to use the app-builder from
another directory.
3. The executible is called ab.