intl patches (28)

Ulrich Drepper drepper@redhat.com
Tue Nov 27 15:31:00 GMT 2001


Bruno Haible <haible@ilog.fr> writes:

> 2001-09-24  Bruno Haible  <bruno@clisp.org>
> 
> 	* intl/localename.c: New file, extracted from intl/dcigettext.c.
> 	* intl/gettextP.h (_nl_locale_name): New declaration.
> 	* intl/dcigettext.c (guess_category_value): Call _nl_locale_name.
> 	* Makefile (routines): Add localename.

I've done this differently.  Since the code outside glibc anyway is
different the call to setlocale() is done as before for glibc.  If the
code is used outside glibc a function _nl_locale_name is used which is
not defined in glibc.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-alpha mailing list