This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
parts/inc/utf8: Fix utf8_to_uvchr_buf for 5.7.0
authorKarl Williamson <khw@cpan.org>
Tue, 9 Jul 2019 22:56:21 +0000 (16:56 -0600)
committerNicolas R <atoomic@cpan.org>
Fri, 27 Sep 2019 22:51:28 +0000 (16:51 -0600)
commit088119207ad8e3cfe99531aca74631838edd22ac
tree2d86bd55a2d562d551adac8c05020bfbad895e81
parentd4cea7f8e43ae1dcea1de589448c1349cb40c27f
parts/inc/utf8: Fix utf8_to_uvchr_buf for 5.7.0

It turns out that 5.6.1 is more advanced than 5.7.0.  So this commit
uses a further check to decide if it can use a substitute function that
provides decent error checking, or if it has to fall back to one that
doesn't.

(cherry picked from commit 8e3920d656441ef0ba0a5dcef98c1064aab26412)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/parts/inc/utf8
dist/Devel-PPPort/t/utf8.t