changeset 26073:948550cae1e7 v8.2.3570

patch 8.2.3570: Test_very_large_count fails on 32bit systems Commit: https://github.com/vim/vim/commit/ec6e63079dde24a1d74b4103775e74d00f9215ec Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 1 22:58:43 2021 +0000 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 https://github.com/vim/vim/issues/9072)
author Bram Moolenaar <Bram@vim.org>
date Tue, 02 Nov 2021 00:00:05 +0100
parents dc79b552f424
children 676e1735d5dd
files src/testdir/test_put.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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:')
--- 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 */
 /**/
+    3570,
+/**/
     3569,
 /**/
     3568,