Hello, I was misunderstanding. Agree with you that this is a bug of Solaris mbrtowc ().
But, still I can not understand why this issue happen only in Japanese locale, without installing European localization. Could you explain me, if you do not mind, please ? It would be better to keep this Solaris bug detected, but make it clear it is not a bug of GNU's. Or make it XFAIL on Solaris (with some localizations). Otherwise, the same bug report will be sent to many GNU projects. Regards, --- Kiyoshi ----- Original Message ----- >From: Daiki Ueno <u...@gnu.org> >Subject: Re: m4-1.4.17 test-mbrtowc3.sh fails on Solaris without European >localization > >Eric Blake <ebl...@redhat.com> 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. > >Thoughts? > >Regards, >-- >Daiki Ueno > > >