[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
locale test failures on illumos
From: |
Pádraig Brady |
Subject: |
locale test failures on illumos |
Date: |
Mon, 19 Jan 2015 14:01:18 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
On 15/01/15 18:05, Alexander Pyhalov wrote:
> Hello.
> test-locale.c. It assumes that LC_GLOBAL_LOCALE is a constant.
> On illumos it's a function, so compilation fails. Fix is here:
https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/coreutils/patches/gnulib-tests_test-locale.c.patch
This looks good, though it would be preferable to combine with a fix for...
> [test-getlogin] uses gl_locale_name_thread_unsafe, which simply doesn't know
> about
> illumos/Solaris and returns NULL, so the test fails.
Does querylocale() exist for __sun ?
Perhaps it's just a matter of adding __sun to the elif define
in gl_locale_name_thread_unsafe() ?
Or perhaps this is (also) due to LC_GLOBAL_LOCALE being
a function on illumos, in which case it would need to
be assigned to a local variable before the comparison.
thanks,
Pádraig.
- locale test failures on illumos,
Pádraig Brady <=