Re: localename and thread locale

2010-01-01 Thread Bruno Haible
Hi, I wrote on 2009-12-26: > (gl_locale_name_thread_unsafe): New function, extracted from > gl_locale_name_thread. This leads to gcc warnings localename.c:2602: warning: `gl_locale_name_thread_unsafe' defined but not used Fixed as follows: 2010-01-01 Bruno Haible loc

Re: localename and thread locale

2009-12-26 Thread Bruno Haible
Hi, I wrote: > +/* Determine the current per-thread locale's name, as specified by > uselocale() > + calls. > + CATEGORY is a locale category abbreviation, as defined in , > + but not LC_ALL. E.g. LC_MESSAGES. > + CATEGORYNAME is the name of CATEGORY as a string, e.g. "LC_MESSAGES". > +

localename and thread locale

2009-12-23 Thread Bruno Haible
Hi, It has been reported [1][2] that the gl_locale_name function in gnulib is not aware of the locale that may have been set in a thread using the 'uselocale' API (on glibc and MacOS X systems). This fixes it. [1] http://savannah.gnu.org/bugs/?27520 [2] http://lists.gnu.org/archive/html/bug-libun