This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #129891] t/op/utf8decode.t failing
authorKarl Williamson <khw@cpan.org>
Sat, 15 Oct 2016 17:02:04 +0000 (11:02 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 16 Oct 2016 16:47:00 +0000 (10:47 -0600)
commitaadb82e0ec97e7fc243dcacb81423f82c41eb512
tree805dce8f65ff81681db19bdb7353ea9d648d88db
parent5ec712b17f589b0efc75ccd871d07947dd474a85
PATCH: [perl #129891] t/op/utf8decode.t failing

This bug is a result of 32-bit vs 64-bit words, and is a problem in the
test file and not the underlying code.

The blamed commit changed things so that is a UTF-8 sequence has
multiple malformations, a diagnostic is generated for each.  Some of the
tests in utf8decode.t overflow on 32-bit words, but not 64.  The
solution is to change the .t to also look for the extra overflow
warnings on 32 bit machines.
t/op/utf8decode.t