Patch 8.2.3577

10 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 3, 2021, 9:43:54 AM11/3/21
to vim...@googlegroups.com

Patch 8.2.3577 (after 8.2.3574)
Problem: Overflow check fails with 32 ints.
Solution: Only test with 64 bit ints.
Files: src/testdir/test_put.vim


*** ../vim-8.2.3576/src/testdir/test_put.vim 2021-11-02 21:39:40.097064632 +0000
--- src/testdir/test_put.vim 2021-11-03 13:41:01.056647525 +0000
***************
*** 149,154 ****
--- 149,158 ----
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:')
*** ../vim-8.2.3576/src/version.c 2021-11-03 13:15:36.240758235 +0000
--- src/version.c 2021-11-03 13:42:29.529768724 +0000
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3577,
/**/

--
Linux is just like a wigwam: no Windows, no Gates and an Apache inside.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages