From 174d73a3bad55f7359c49c82474e9991871d0e2f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 2 Aug 2002 21:04:06 +0000 Subject: 2002-08-02 Roland McGrath * locale/localeinfo.h (_NL_CURRENT_DATA): New macro. * wcsmbs/wcsmbsload.h (update_conversion_ptrs): Use it. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * wctype/wctrans.c (wctrans): Likewise. * wctype/wctype.c (__wctype): Likewise. * intl/loadmsgcat.c (_nl_init_domain_conv): Use _NL_CURRENT. --- intl/loadmsgcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intl') diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c index 19a3e9b8e5..b9e59f5682 100644 --- a/intl/loadmsgcat.c +++ b/intl/loadmsgcat.c @@ -805,7 +805,7 @@ _nl_init_domain_conv (domain_file, domain, domainbinding) if (outcharset == NULL || outcharset[0] == '\0') { # ifdef _LIBC - outcharset = (*_nl_current[LC_CTYPE])->values[_NL_ITEM_INDEX (CODESET)].string; + outcharset = _NL_CURRENT (LC_CTYPE, CODESET); # else # if HAVE_ICONV extern const char *locale_charset (void); -- cgit v1.2.3