libc intl/dcigettext.c locale/localename.c
roland@sources.redhat.com
roland@sources.redhat.com
Sat Aug 3 18:41:00 GMT 2002
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.
More information about the Glibc-cvs
mailing list