Patch 8.2.4207 (after 8.2.4206)
Problem:    Recursion test fails with MSVC.
Solution:   Use a smaller limit for MSVC.
Files:      src/eval.c


*** ../vim-8.2.4206/src/eval.c  2022-01-24 18:16:08.740970105 +0000
--- src/eval.c  2022-01-24 18:33:05.310781849 +0000
***************
*** 3554,3561 ****
      }
  
      // Limit recursion to 1000 levels.  At least at 10000 we run out of stack
!     // and crash.
!     if (recurse == 1000)
      {
        semsg(_(e_expression_too_recursive_str), *arg);
        return FAIL;
--- 3554,3567 ----
      }
  
      // Limit recursion to 1000 levels.  At least at 10000 we run out of stack
!     // and crash.  With MSVC the stack is smaller.
!     if (recurse ==
! #ifdef _MSC_VER
!                   300
! #else
!                   1000
! #endif
!                   )
      {
        semsg(_(e_expression_too_recursive_str), *arg);
        return FAIL;
*** ../vim-8.2.4206/src/version.c       2022-01-24 18:16:08.740970105 +0000
--- src/version.c       2022-01-24 18:35:06.032240039 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4207,
  /**/

-- 
Citizens are not allowed to attend a movie house or theater nor ride in a
public streetcar within at least four hours after eating garlic.
                [real standing law in Indiana, United States of America]

 /// 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/20220124183712.74AB11C1AA3%40moolenaar.net.

Raspunde prin e-mail lui