develooper Front page | perl.perl5.porters | Postings from March 2018

Re: [perl #132901] setlocale's return value is broken

Thread Previous
From:
Zefram
Date:
March 30, 2018 22:52
Subject:
Re: [perl #132901] setlocale's return value is broken
Message ID:
20180330225229.cel47m3bq5swtoxn@fysh.org
Karl Williamson wrote:
>                                               It is required only that a
>future setlocale() changing the locale to the value returned properly work.

That's obviously the correct way to test it: feed the value to setlocale()
and check that locale-dependent things behave in accordance with the
expected locale.

-zefram

Thread Previous


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