From: Bram Moolenaar Date: Wed, 3 Nov 2021 13:43:16 +0000 (+0000) Subject: patch 8.2.3577: overflow check fails with 32 ints X-Git-Tag: v8.2.3577 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f0044125c2a5dcde2c4605efc39d2e237eed024;p=vim patch 8.2.3577: overflow check fails with 32 ints Problem: Overflow check fails with 32 ints. Solution: Only test with 64 bit ints. --- diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim index 82379dc05..1b67c85a1 100644 --- a/src/testdir/test_put.vim +++ b/src/testdir/test_put.vim @@ -149,6 +149,10 @@ func Test_p_with_count_leaves_mark_at_end() endfunc func Test_very_large_count() + if v:sizeofint != 8 + throw 'Skipped: only works with 64 bit ints' + endif + new let @" = 'x' call assert_fails('norm 44444444444444p', 'E1240:') diff --git a/src/version.c b/src/version.c index c8ea131ee..b1c1193ea 100644 --- a/src/version.c +++ b/src/version.c @@ -757,6 +757,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3577, /**/ 3576, /**/