develooper Front page | perl.perl5.porters | Postings from April 2016

Re: RFC: refuse to change into an unsupported locale

Thread Previous | Thread Next
From:
Sawyer X
Date:
April 27, 2016 11:28
Subject:
Re: RFC: refuse to change into an unsupported locale
Message ID:
5720A265.3060903@gmail.com


On 04/24/2016 01:07 AM, Zefram wrote:
> Karl Williamson wrote:
>> Perl supports most single-byte locales, plus UTF-8 locales.
> What do you mean by "Perl supports"?  What kind of support is required
> from Perl?

Karl, is this documented anywhere, other than tickets that get closed? I
assume the solution you're thinking of for POSIX.pm will provide that?

>
>> On some platforms, just switching into some of these locales can
>> cause perl to segfault (or rather it is a bug in the libc in failing
>> to detect garbage input)
> We can't be expected to work around such a libc bug.

If we can detect it will crash if it happens, we can prevent it from
triggering the crash.

That sounds fairly reasonable, no?


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About