To: vim_dev@googlegroups.com Subject: Patch 8.2.3130 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3130 Problem: Vim9: import test fails. Solution: Rename directory back to "import", use "p" to avoid an error when the directory already exists. Files: src/testdir/test_vim9_script.vim *** ../vim-8.2.3129/src/testdir/test_vim9_script.vim 2021-07-08 21:38:45.343232315 +0200 --- src/testdir/test_vim9_script.vim 2021-07-08 21:58:31.805325348 +0200 *************** *** 1955,1962 **** 'g:imported_rtp = exported', ] writefile(import_lines, 'Ximport_rtp.vim') ! mkdir('Ximport') ! writefile(s:export_script_lines, 'Ximport/Xexport_rtp.vim') var save_rtp = &rtp &rtp = getcwd() --- 1955,1962 ---- 'g:imported_rtp = exported', ] writefile(import_lines, 'Ximport_rtp.vim') ! mkdir('import', 'p') ! writefile(s:export_script_lines, 'import/Xexport_rtp.vim') var save_rtp = &rtp &rtp = getcwd() *************** *** 1968,1974 **** Undo_export_script_lines() unlet g:imported_rtp delete('Ximport_rtp.vim') ! delete('Ximport', 'rf') enddef def Test_import_compile_error() --- 1968,1974 ---- Undo_export_script_lines() unlet g:imported_rtp delete('Ximport_rtp.vim') ! delete('import', 'rf') enddef def Test_import_compile_error() *** ../vim-8.2.3129/src/version.c 2021-07-08 21:38:45.343232315 +0200 --- src/version.c 2021-07-08 22:00:02.349175974 +0200 *************** *** 757,758 **** --- 757,760 ---- { /* Add new patch number below this line */ + /**/ + 3130, /**/ -- hundred-and-one symptoms of being an internet addict: 98. The Alta Vista administrators ask you what sites are missing in their index files. /// 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 ///