This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: intl patches (28)


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]