Re: [PATCH] localename: Port to cygwin 2.6.

2017-05-18 Thread Bruno Haible
Eric Blake wrote on 2017-01-19: > > * lib/localename.c (gl_locale_name_thread_unsafe): Add clause for > > Cygwin. It relies on the NL_LOCALE_NAME macro, which is defined in . Better than to hope that it gets included by chance, include it explicitly. 2017-05-18 Bruno Haible localenam

Re: [PATCH] localename: Port to cygwin 2.6.

2017-01-23 Thread Eric Blake
On 01/23/2017 04:47 AM, Bruno Haible wrote: > testdir before your change > - cygwin32 OK > - cygwin64 test-duplocale crashes, test-localename fails > > testdir after your change > - cygwin32 OK > - cygwin64 test-duplocale crashes I'll see if I can figure that one out. > > There still i

Re: [PATCH] localename: Port to cygwin 2.6.

2017-01-23 Thread Bruno Haible
Hi Eric, > > But this was enough to get test-localename passing on > > Cygwin again. > > Now pushed. Thanks, Eric. I confirm that this fixes the 'test-localename' on 64-bit Cygwin 2.6.1. My test results with $ ./gnulib-tool --create-testdir --dir=/tmp/testdir1 --with-tests --single-configure

Re: [PATCH] localename: Port to cygwin 2.6.

2017-01-20 Thread Eric Blake
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 patte

Re: [PATCH] localename: Port to cygwin 2.6.

2017-01-19 Thread Eric Blake
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 patte

[PATCH] localename: Port to cygwin 2.6.

2017-01-19 Thread Eric Blake
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