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. |
||
|---|---|---|
| .. | ||
| APOPServer.C | ||
| AUTOServer.C | ||
| BigMalloc.C | ||
| BigMalloc.hh | ||
| Buffer.C | ||
| CAPIMethods.C | ||
| DetermineFileLocality.C | ||
| Dictionary.C | ||
| DlDynamicLib.C | ||
| DlDynamicLib.hh | ||
| DtMailBodyPart.C | ||
| DtMailEnvelope.C | ||
| DtMailError.C | ||
| DtMailMailBox.C | ||
| DtMailMessage.C | ||
| DtMailRc.C | ||
| DtMailServer.C | ||
| DtMailTransport.C | ||
| DtMailValuesBuiltin.C | ||
| DtMailXtProc.C | ||
| DtVirtArray.C | ||
| DynamicLib.C | ||
| DynamicLib.hh | ||
| FileShare.C | ||
| HashTable.C | ||
| IMAPServer.C | ||
| IO.C | ||
| Imakefile | ||
| ImplConfigTable.hh | ||
| LanguagePortability.C | ||
| MailRc.C | ||
| NotDynamic.C | ||
| NotDynamic.hh | ||
| ObjectKey.C | ||
| POP2Server.C | ||
| POP3Server.C | ||
| Process.C | ||
| Process.hh | ||
| Session.C | ||
| SigChldImpl.hh | ||
| Threads.C | ||
| VirtArray.hh | ||
| libDtMail.msg | ||
| md5.C | ||
| md5.h | ||
| md5global.h | ||
| str_utils.C | ||