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

Re: [perl #121080] blead setlocale broken on VMS

Thread Previous | Thread Next
Karl Williamson
January 25, 2014 05:07
Re: [perl #121080] blead setlocale broken on VMS
Message ID:
On 01/24/2014 08:58 PM, Craig A. Berry (via RT) wrote:
> I question the expectation of locale.t that setlocale(LC_NUMERIC, NULL) will return the value of LC_NUMERIC from the environment.

You're right.  The value setlocale returns is opaque, and can't be 
parsed like that test expects.  All that is supposedly guaranteed is 
that if you pass a value returned from a setlocale() to a later 
setlocale(), it will understand the opaque value correctly.

I'll have to come up with a better test.

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