From ec6e63079dde24a1d74b4103775e74d00f9215ec Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 1 Nov 2021 22:58:43 +0000 Subject: [PATCH] patch 8.2.3570: Test_very_large_count fails on 32bit systems Problem: Test_very_large_count fails on 32bit systems. Solution: Bail out when using 32 bit numbers. (closes #9072) --- src/testdir/test_put.vim | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim index a6bed7535..921d3b215 100644 --- a/src/testdir/test_put.vim +++ b/src/testdir/test_put.vim @@ -152,6 +152,10 @@ func Test_very_large_count() " FIXME: should actually check if sizeof(int) == sizeof(long) CheckNotMSWindows + if v:numbersize != 64 + throw 'Skipped: only works with 64 bit numbers' + endif + new let @" = 'x' call assert_fails('norm 44444444444444p', 'E1240:') diff --git a/src/version.c b/src/version.c index ea1a790cc..2f1998026 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 */ +/**/ + 3570, /**/ 3569, /**/ -- 2.50.1