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. --- wcsmbs/wcsmbsload.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wcsmbs') diff --git a/wcsmbs/wcsmbsload.h b/wcsmbs/wcsmbsload.h index dee2c81..1fcb42c 100644 --- a/wcsmbs/wcsmbsload.h +++ b/wcsmbs/wcsmbsload.h @@ -57,6 +57,6 @@ extern int __wcsmbs_named_conv (struct gconv_fcts *copy, const char *name) static inline void update_conversion_ptrs (void) { - if (__wcsmbs_last_locale != _nl_current_LC_CTYPE) - __wcsmbs_load_conv (_nl_current_LC_CTYPE); + if (__wcsmbs_last_locale != _NL_CURRENT_DATA (LC_CTYPE)) + __wcsmbs_load_conv (_NL_CURRENT_DATA (LC_CTYPE)); } -- cgit v1.1