To: vim_dev@googlegroups.com Subject: Patch 8.2.5121 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.5121 Problem: Interrupt test sometimes fails. Solution: Use a different file name. Files: src/testdir/test_interrupt.vim *** ../vim-8.2.5120/src/testdir/test_interrupt.vim 2020-08-12 17:50:31.879655802 +0100 --- src/testdir/test_interrupt.vim 2022-06-18 11:54:26.831942493 +0100 *************** *** 13,29 **** endfunction func Test_interrupt() ! new Xfile let n = 0 try ! au BufWritePre Xfile call s:bufwritepre() ! au BufWritePost Xfile call s:bufwritepost() w! catch /^Vim:Interrupt$/ endtry call assert_equal(1, s:bufwritepre_called) call assert_equal(0, s:bufwritepost_called) ! call assert_equal(0, filereadable('Xfile')) endfunc " vim: shiftwidth=2 sts=2 expandtab --- 13,32 ---- endfunction func Test_interrupt() ! new Xinterrupt let n = 0 try ! au BufWritePre Xinterrupt call s:bufwritepre() ! au BufWritePost Xinterrupt call s:bufwritepost() w! catch /^Vim:Interrupt$/ endtry call assert_equal(1, s:bufwritepre_called) call assert_equal(0, s:bufwritepost_called) ! call assert_equal(0, filereadable('Xinterrupt')) ! ! au! BufWritePre ! au! BufWritePost endfunc " vim: shiftwidth=2 sts=2 expandtab *** ../vim-8.2.5120/src/version.c 2022-06-18 11:22:36.674627758 +0100 --- src/version.c 2022-06-18 11:52:30.012016377 +0100 *************** *** 736,737 **** --- 736,739 ---- { /* Add new patch number below this line */ + /**/ + 5121, /**/ -- FIRST SOLDIER: So they wouldn't be able to bring a coconut back anyway. SECOND SOLDIER: Wait a minute! Suppose two swallows carried it together? FIRST SOLDIER: No, they'd have to have it on a line. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///