To: vim_dev@googlegroups.com Subject: Patch 9.0.0621 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0621 Problem: Filetype test leaves file behind. Solution: Add deferred delete flag to writefile(). (Dominique Pellé, closes #11249) Files: src/testdir/test_filetype.vim *** ../vim-9.0.0620/src/testdir/test_filetype.vim 2022-09-27 19:34:30.658212345 +0100 --- src/testdir/test_filetype.vim 2022-09-29 13:05:26.647706178 +0100 *************** *** 1233,1239 **** func Test_m_file() filetype on ! call writefile(['looks like Matlab'], 'Xfile.m') split Xfile.m call assert_equal('matlab', &filetype) bwipe! --- 1233,1239 ---- func Test_m_file() filetype on ! call writefile(['looks like Matlab'], 'Xfile.m', 'D') split Xfile.m call assert_equal('matlab', &filetype) bwipe! *** ../vim-9.0.0620/src/version.c 2022-09-29 12:49:52.261601394 +0100 --- src/version.c 2022-09-29 13:07:02.043043750 +0100 *************** *** 701,702 **** --- 701,704 ---- { /* Add new patch number below this line */ + /**/ + 621, /**/ -- Don't be humble ... you're not that great. -- Golda Meir /// 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 ///