haiku/headers/private/libroot/locale
Trung Nguyen d02c0bade7 libs/posix: Fix NULL pointer in uselocale
uselocale now attempts to create a backend and a databrige.

If the attempt fails due to a missing libroot-addon-icu, uselocale
does nothing (to support applications calling uselocale during
startup to enforce the C locale).

Else, uselocale will fail with ENOMEM.

LocaleBackend::CreateBackend() has been modified to return a status_t
that indicates whether NULL is returned due to out of memory (B_NO_MEMORY)
or due to being unable to load the ICU addon (B_MISSING_LIBRARY).

Change-Id: I0f62ebde5890364c64e6694ec58d38de43ec6841
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5505
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-08-03 00:16:08 +00:00
..
ICUCategoryData.h Prepare for ICU update 2020-08-02 11:58:14 +02:00
ICUCollateData.h libroot: Fix ICU locale implementation of wcsxfrm. 2022-01-11 16:34:15 -05:00
ICUCtypeData.h Prepare for ICU update 2020-08-02 11:58:14 +02:00
ICULocaleBackend.h libroot: Fix ICU locale implementation of wcsxfrm. 2022-01-11 16:34:15 -05:00
ICULocaleconvData.h Prepare for ICU update 2020-08-02 11:58:14 +02:00
ICUMessagesData.h Prepare for ICU update 2020-08-02 11:58:14 +02:00
ICUMonetaryData.h Prepare for ICU update 2020-08-02 11:58:14 +02:00
ICUNumericData.h Prepare for ICU update 2020-08-02 11:58:14 +02:00
ICUThreadLocalStorageValue.h
ICUTimeConversion.h libroot: implement timegm calling the ICU backend 2021-02-24 05:51:44 +00:00
ICUTimeData.h Prepare for ICU update 2020-08-02 11:58:14 +02:00
LocaleBackend.h libs/posix: Fix NULL pointer in uselocale 2022-08-03 00:16:08 +00:00
PosixCtype.h
PosixLanginfo.h
PosixLocaleConv.h
ThreadLocale.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00