This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't use duplocale() unless is present
authorKarl Williamson <khw@cpan.org>
Wed, 7 Mar 2018 17:20:53 +0000 (10:20 -0700)
committerKarl Williamson <khw@cpan.org>
Mon, 12 Mar 2018 17:10:02 +0000 (11:10 -0600)
commit80306bb6fd3a203fe3583693a061e7cf3bdce42a
tree3f627252246df4dd3d7566c1173a52f9fd198eb6
parent929a7f8c537d1238e2a62caff6f9c494010473c7
Don't use duplocale() unless is present

Prior to this patch, the code assumed that if you have the other, more
significant, POSIX 2008 functions available, that duplocale was present
and correctly functioning too.

However, we found that there have been bugs in it, so that a hints file
or Configure probe might want to exclude just it.
ext/POSIX/POSIX.xs
locale.c