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\<CR>", "silent n\xff", "silent norm
:b\xff\<CR>"]
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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220729185209.32D0B1C0C34%40moolenaar.net.