[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] localename: Port to cygwin 2.6.
From: |
Eric Blake |
Subject: |
Re: [PATCH] localename: Port to cygwin 2.6. |
Date: |
Fri, 20 Jan 2017 09:30:35 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
On 01/19/2017 02:30 PM, Eric Blake wrote:
> Cygwin 2.6 introduced uselocale() and thread-local locales in general,
> but lacks any way to get at the name of each portion of a locale_t
> object short of peeking behind an opaque object. I'm proposing a
> patch to add NL_LOCALE_NAME() to Cygwin patterned after glibc's
> extension of the same name, but we might as well work around it
> in the meantime.
>
> * lib/localename.c (gl_locale_name_thread_unsafe): Add clause for
> Cygwin.
>
> Signed-off-by: Eric Blake <address@hidden>
> ---
>
> I won't actually push this to gnulib until I've sent the corresponding
> newlib/Cygwin patch to add NL_LOCALE_NAME, and tweaked the commit
> messages of both patches to refer to the appropriate mailing list
> threads. But this was enough to get test-localename passing on
> Cygwin again.
Now pushed.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature