diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-03 13:43:16 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-03 13:43:16 +0000 |
commit | 0f0044125c2a5dcde2c4605efc39d2e237eed024 (patch) | |
tree | 8ce852a0cbf5601da7f3a41279909d9a0ef15c26 | |
parent | a63780b9770699bf8fda93affeab2c728bc76912 (diff) | |
download | vim-git-8.2.3577.tar.gz |
patch 8.2.3577: overflow check fails with 32 intsv8.2.3577
Problem: Overflow check fails with 32 ints.
Solution: Only test with 64 bit ints.
-rw-r--r-- | src/testdir/test_put.vim | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 0 deletions
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 @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3577, +/**/ 3576, /**/ 3575, |