Re: localename: Add support for per-thread locales on Solaris 11.4

2018-10-23 Thread Bruno Haible
A week ago, I did this: > In order to overcome this, the 'localename' module has to keep its own > hash table (locale_t -> set of names, one per category). This, in turn, > requires overriding 'newlocale', 'duplocale', and 'freelocale'. > > With this patch, test-localename passes on Solaris 11.4.

Re: localename: Add support for per-thread locales on Solaris 11.4

2018-10-21 Thread Bruno Haible
And another patch, also for integration with GNU libintl. 2018-10-21 Bruno Haible locale: Ease integration with GNU libintl. * lib/locale.in.h (GNULIB_defined_newlocale, GNULIB_defined_duplocale, GNULIB_defined_freelocale): New macros. diff --git a/lib/locale.in.h

Re: localename: Add support for per-thread locales on Solaris 11.4

2018-10-21 Thread Bruno Haible
A week ago, I wrote: > 2018-10-14 Bruno Haible > > localename: Add support for per-thread locales on Solaris 11.4. Integration into the libintl of GNU gettext requires some changes in this code. In particular, the hash table that maps the locale_t object to the list of locale

localename: Add support for per-thread locales on Solaris 11.4

2018-10-14 Thread Bruno Haible
all other platforms that have 'uselocale'. 2018-10-14 Bruno Haible localename: Add support for per-thread locales on Solaris 11.4. * lib/locale.in.h (newlocale, freelocale): New declarations. (duplocale): Declare also when the 'localename' module requests it. *