[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: m4-1.4.17 test-mbrtowc3.sh fails on Solaris without European localiz

From: Eric Blake
Subject: Re: m4-1.4.17 test-mbrtowc3.sh fails on Solaris without European localization
Date: Fri, 07 Nov 2014 10:28:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 11/07/2014 09:08 AM, Daiki Ueno wrote:
> Eric Blake <address@hidden> writes:
>> [adding gnulib]
>> On 11/06/2014 11:19 AM, Kiyoshi KANAZAWA wrote:
>>> Hello,
>>> On Solaris 10 x86/x64,
>>> "test-mbrtowc3.sh" fails if European localization is not installed.
>>> It passes with European localization.
> I can reproduce it, and it seems to be the same issue as:
> https://lists.gnu.org/archive/html/bug-gnulib/2014-10/msg00000.html
> which I originally encountered on Solaris 11.
> (It's curious that you could work it around by installing European
> localization, while the test checks the mbrtowc behavior under Japanese
> locale.)
> Perhaps it would be good to replace mbrtowc on Solaris, though I have no
> idea how to detect the wrong behavior without depending on particular
> locale data.  Alternatively, we could simply ignore this test failure on
> Solaris, since the tested calling convention is not very common.

I think it's better to declare the function broken and work around it
than to just ignore it in the testsuite; but like you, I'm not sure how
to easily expose the brokenness during a configure test, especially if
someone is building a binary on a machine with a locale that "fixes" the
issue but then wants to run the binary on another machine lacking the

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]