To: vim_dev@googlegroups.com Subject: Patch 9.0.1654 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1654 (after 9.0.1653) Problem: MS-Windows: test for default 'viewdir' fails. Solution: Escape the pattern. Files: src/testdir/test_mksession.vim *** ../vim-9.0.1653/src/testdir/test_mksession.vim 2023-06-23 22:22:55.961061401 +0100 --- src/testdir/test_mksession.vim 2023-06-23 22:56:04.582810455 +0100 *************** *** 1265,1271 **** " Test default 'viewdir' value func Test_mkview_default_home() if has('win32') ! call assert_match('^' .. $ORIGHOME .. '/vimfiles', &viewdir) elseif has('unix') call assert_match('^' .. $ORIGHOME .. '/.vim', &viewdir) elseif has('amiga') --- 1265,1272 ---- " Test default 'viewdir' value func Test_mkview_default_home() if has('win32') ! " use escape() to handle backslash path separators ! call assert_match('^' .. escape($ORIGHOME, '\') .. '/vimfiles', &viewdir) elseif has('unix') call assert_match('^' .. $ORIGHOME .. '/.vim', &viewdir) elseif has('amiga') *** ../vim-9.0.1653/src/version.c 2023-06-23 22:22:55.965061399 +0100 --- src/version.c 2023-06-23 22:43:11.033488000 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1654, /**/ -- hundred-and-one symptoms of being an internet addict: 220. Your wife asks for sex and you tell her where to find you on IRC. /// 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 ///