newlib-cygwin/newlib/libc/locale
Corinna Vinschen d78ca12ab4 locales: Fix definition of lc_messages_T::codeset
nl_langinfo_l accesses lc_messages_T::codeset as soon as
__HAVE_LOCALE_INFO__ is defined, but codeset only exists
if __HAVE_LOCALE_INFO_EXTENDED__ is defined.

Fix this by defining lc_messages_T::codeset depending on
__HAVE_LOCALE_INFO__.

Fixes: ac7f1d5e93 ("Get rid of LCID, reformat type definitions in setlocale.h")
Reported-by: Inglis <Brian.Inglis@SystematicSW.ab.ca>
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2024-08-22 21:21:51 +02:00
..
Makefile.inc getlocalename_l: implement per SUS Base Specifications Issue 8 draft 2024-01-31 20:11:57 +01:00
duplocale.c locale: remove TRAD_SYNOPSIS 2017-12-01 03:41:50 -06:00
freelocale.c locale: remove TRAD_SYNOPSIS 2017-12-01 03:41:50 -06:00
getlocalename_l.c getlocalename_l: implement per SUS Base Specifications Issue 8 draft 2024-01-31 20:11:57 +01:00
lctype.c Cygwin: fix LC_CTYPE in global locale to be a real C.UTF-8 locale 2022-12-03 16:16:30 +01:00
lmessages.c Remove non-working __part_load_locale function and any related code 2016-08-15 10:56:57 +02:00
lmonetary.c Remove non-working __part_load_locale function and any related code 2016-08-15 10:56:57 +02:00
lnumeric.c Remove non-working __part_load_locale function and any related code 2016-08-15 10:56:57 +02:00
locale.c Reentrancy, use _REENT_ERRNO() 2023-09-11 09:23:05 +02:00
locale.tex newlib: docs: add "Function " to every function node 2024-01-22 21:58:58 -05:00
localeconv.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
newlocale.c Reentrancy, use _REENT_ERRNO() 2023-09-11 09:23:05 +02:00
nl_langinfo.3 * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
nl_langinfo.c nl_langinfo_l: drop erroneus messages::codeset entry 2024-08-22 21:15:44 +02:00
setlocale.h locales: Fix definition of lc_messages_T::codeset 2024-08-22 21:21:51 +02:00
timelocal.c fix __time_load_locale return code 2023-05-17 17:47:54 -04:00
uselocale.c Add _REENT_LOCALE(ptr) 2022-07-13 06:55:46 +02:00