develooper Front page | perl.perl5.porters | Postings from June 2014

Re: [perl #121734]

Thread Previous | Thread Next
Jarkko Hietaniemi
June 5, 2014 01:23
Re: [perl #121734]
Message ID:
On Wednesday-201406-04, 20:30, Karl Williamson wrote:
> On 04/25/2014 02:10 PM, Reini Urban wrote:
>> On 04/25/2014 03:02 PM, karl williamson via RT wrote:
>>> On 04/25/2014 01:33 PM, (via RT) wrote:
>>>> ./perl -MPOSIX -e'setlocale(LC_ALL, "ja_JP.utf8")'
>>> It works on my Linux;  I notice that there is no -I parameter in your
>>> example.  Are you sure you are getting the correct library path?
>> yes, sorry.
>> This fails only on cygwin, only tested on 32bit.
>> It fails with most eastern locales, but some eastern locales do pass.
> I had a look at the code.  It's from these two lines in locale.c:
> 	  /* 50: surely no system expands a char more. */
> #define XFRMBUFSIZE  (2 * 50)
> That '50' looks like a guess.  You could try bumping it up until
> everything passes, and we could then use that instead of having to skip
> locales in the tests.

Yes, a guess, by yours truly, from the time when mammoths and 
sabertooths roamed the lands.

I've got a better idea than futzing with the futz factor.  Just a minute.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About