This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: Fix potential fold bug
authorKarl Williamson <khw@cpan.org>
Sat, 27 Dec 2014 00:47:37 +0000 (17:47 -0700)
committerKarl Williamson <khw@cpan.org>
Mon, 29 Dec 2014 20:52:56 +0000 (13:52 -0700)
commite7b7ac466eda00925c5668867d967e36cdfcb731
tree2bc2674e24f190c4c90a887df5a19090996c07c6
parentaa8ebe624a829b26875f96527e6ba67a796bd995
utf8.c: Fix potential fold bug

The function _to_uni_fold_flags() supposedly had the ability to do
folding based on the current locale, if the correct flag is passed.
However, it didn't actually do that, returning a non-locale fold
instead.  Fortunately, this is an undocumented capability (actually, the
whole function is undocumented), and no current calls to it used the
flag.  This commit causes it to work.
utf8.c