To: vim_dev@googlegroups.com Subject: Patch 8.2.3579 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3579 Problem: CI sometimes fails for MinGW. Solution: Use backslashes in HandleSwapExists(). (Christian Brabandt, closes #9078) Files: src/testdir/runtest.vim *** ../vim-8.2.3578/src/testdir/runtest.vim 2021-10-16 13:00:10.940165406 +0100 --- src/testdir/runtest.vim 2021-11-03 22:30:42.806127737 +0000 *************** *** 93,99 **** " REDIR_TEST_TO_NULL has a very permissive SwapExists autocommand which is for " the test_name.vim file itself. Replace it here with a more restrictive one, " so we still catch mistakes. ! let s:test_script_fname = expand('%') au! SwapExists * call HandleSwapExists() func HandleSwapExists() if exists('g:ignoreSwapExists') --- 93,104 ---- " REDIR_TEST_TO_NULL has a very permissive SwapExists autocommand which is for " the test_name.vim file itself. Replace it here with a more restrictive one, " so we still catch mistakes. ! if has("win32") ! " replace any '/' directory separators by '\\' ! let s:test_script_fname = substitute(expand('%'), '/', '\\', 'g') ! else ! let s:test_script_fname = expand('%') ! endif au! SwapExists * call HandleSwapExists() func HandleSwapExists() if exists('g:ignoreSwapExists') *** ../vim-8.2.3578/src/version.c 2021-11-03 22:31:30.910810641 +0000 --- src/version.c 2021-11-03 22:28:55.144593851 +0000 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 3579, /**/ -- You cannot propel yourself forward by patting yourself on the back. /// 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 ///