2002-08-30 Roland McGrath <roland@redhat.com>
authorroland <roland>
Fri, 30 Aug 2002 10:36:16 +0000 (10:36 +0000)
committerroland <roland>
Fri, 30 Aug 2002 10:36:16 +0000 (10:36 +0000)
commit49f2a990f155d7aad6f9f7bf1e5dc77f0788d2ab
treea9226ef444b83d4770f4c2b14538a6afc153f6df
parentae77c0c9bfcfe044f1e4dcd1205dfec0af4bc991
2002-08-30  Roland McGrath  <roland@redhat.com>

* locale/xlocale.h (struct __locale_struct): New member `__names'.
* locale/xlocale.c (_nl_C_locobj): Update initializer.
* locale/global-locale.c (_nl_global_locale): Likewise.
* locale/duplocale.c (__duplocale): strdup __names elements.
* locale/freelocale.c (__freelocale): Free __names elements.
* locale/localename.c (_nl_current_names): Variable removed.
(__current_locale_name): Use _NL_CURRENT_LOCALE->__names instead.
* locale/localeinfo.h (_nl_current_names): Removed decl.
* locale/setlocale.c: Use _nl_global_locale->__names in place of
_nl_current_names throughout.
* locale/setlocale.c (setlocale): strdup -> __strdup (not ISO C).
locale/setlocale.c