This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: intl patches (28)
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Bruno Haible <haible at ilog dot fr>
- Cc: libc-alpha at sources dot redhat dot com
- Date: 27 Nov 2001 15:31:19 -0800
- Subject: Re: intl patches (28)
- References: <15357.1454.10602.242638@honolulu.ilog.fr>
- Reply-to: drepper at redhat dot com (Ulrich Drepper)
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 `------------------------