Patch 8.2.4937
Problem: No test for what 8.2.4931 fixes.
Solution: Add a test that triggers a valgrind error.
Files: src/testdir/test_perl.vim
*** ../vim-8.2.4936/src/testdir/test_perl.vim 2021-05-10 22:49:34.772059900
+0100
--- src/testdir/test_perl.vim 2022-05-10 21:05:30.795893667 +0100
***************
*** 308,313 ****
--- 308,323 ----
%bw!
endfunc
+ " This caused a memory error before issue #10386 was fixed
+ func Test_stack_usage_fix()
+ let script =<< CODE
+ " This will grow Perl's stack in first invocation
+ eval [0, 0]->map({ -> perleval("push@_,0..4096;0") })
+ q!
+ CODE
+ call RunVim([], script, '')
+ endfunc
+
func Test_set_cursor()
" Check that setting the cursor position works.
new
*** ../vim-8.2.4936/src/version.c 2022-05-10 20:54:42.036080435 +0100
--- src/version.c 2022-05-10 21:09:41.004083746 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4937,
/**/
--
hundred-and-one symptoms of being an internet addict:
169. You hire a housekeeper for your home page.
/// 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/20220510201143.02F391C0645%40moolenaar.net.