This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc intl/dcigettext.c locale/localename.c
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 4 Aug 2002 01:41:42 -0000
- Subject: libc intl/dcigettext.c locale/localename.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2002-08-03 18:41:42
Modified files:
intl : dcigettext.c
Added files:
locale : localename.c
Log message:
2002-08-03 Roland McGrath <roland@redhat.com>
* locale/setlocale.c (_nl_current_names): Variable moved ...
* locale/localename.c (_nl_current_names): ... here, new file.
Make it global, with attribute_hidden.
* locale/localeinfo.h: Declare it.
* locale/Makefile (aux): Add localename.
* locale/localename.c (__current_locale_name): New function.
* include/locale.h (__current_locale_name): Declare it.
* intl/dcigettext.c (guess_category_value): Use that instead of
calling setlocale.