To: vim_dev@googlegroups.com Subject: Patch 8.2.3577 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///