To: vim_dev@googlegroups.com Subject: Patch 9.0.0106 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0106 (after 9.0.0105) Problem: Illegal byte regexp test doesn't fail when fix is reversed. Solution: Make sure illegal bytes end up in sourced script file. Files: src/testdir/test_regexp_utf8.vim *** ../vim-9.0.0105/src/testdir/test_regexp_utf8.vim 2022-07-29 16:22:22.276165855 +0100 --- src/testdir/test_regexp_utf8.vim 2022-07-29 18:31:16.288644635 +0100 *************** *** 563,574 **** endfunc func Test_match_illegal_byte() ! let lines =<< trim END ! silent! buffer ÿ\c ! next ÿ ! 0scriptnames ! source ! END call writefile(lines, 'Xregexp') call system(GetVimCommand() .. ' -X -Z -e -s -S Xregexp -c qa!') --- 563,570 ---- endfunc func Test_match_illegal_byte() ! " Text has illegal bytes which need to be set explicitly ! let lines = ["norm :set no\x01\", "silent n\xff", "silent norm :b\xff\"] call writefile(lines, 'Xregexp') call system(GetVimCommand() .. ' -X -Z -e -s -S Xregexp -c qa!') *** ../vim-9.0.0105/src/version.c 2022-07-29 16:22:22.276165855 +0100 --- src/version.c 2022-07-29 18:23:33.689471415 +0100 *************** *** 737,738 **** --- 737,740 ---- { /* Add new patch number below this line */ + /**/ + 106, /**/ -- hundred-and-one symptoms of being an internet addict: 191. You rate eating establishments not by the quality of the food, but by the availability of electrical outlets for your PowerBook. /// 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 ///