diff options
author | David Mitchell <davem@iabyn.com> | 2017-06-12 11:42:22 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2017-06-12 21:11:02 +0100 |
commit | 51099b64db323d0e1d871837f619d72bea8ca2f9 (patch) | |
tree | 2d11b630c5f7636ab023d8f439c0b849527b13e2 /t/re | |
parent | 2c8efe4079b75c61cf34425054539a9c24913e9f (diff) | |
download | perl-51099b64db323d0e1d871837f619d72bea8ca2f9.tar.gz |
fix utf char > IV_MAX on 32-bit platforms
Commit v5.27.0-132-g13f4dd3 forbade out of range Unicode code points,
and fixed/removed tests that no longer apply.
However, this was probably only tested on a 64-bit platform. Several
tests now fail on 32-bit platforms, due to things like "\x{80000000}".
This commit fixes up those tests too.
Diffstat (limited to 't/re')
-rw-r--r-- | t/re/pat_advanced.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/re/pat_advanced.t b/t/re/pat_advanced.t index f2d9c74da9..a2ff68169b 100644 --- a/t/re/pat_advanced.t +++ b/t/re/pat_advanced.t @@ -2402,8 +2402,7 @@ EOF $Config{uvsize} == 8 or skip("need large code-points for this test", 1); - # This is above IV_MAX on 32 bit machines, so turn off those warnings - fresh_perl_is('no warnings "deprecated"; /\x{E000000000}|/ and print qq(ok\n)', "ok\n", {}, + fresh_perl_is('/\x{E000000000}|/ and print qq(ok\n)', "ok\n", {}, "buffer overflow in TRIE_STORE_REVCHAR"); } |