Skip to content

Commit 9e0ee59

Browse files
committed
patch 8.2.3262: build failure when ABORT_ON_INTERNAL_ERROR is defined
Problem: Build failure when ABORT_ON_INTERNAL_ERROR is defined. Solution: Adjust how estack_len_before is used.
1 parent 1780f08 commit 9e0ee59

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/ex_docmd.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,6 @@ do_cmdline(
664664
#endif
665665
static int call_depth = 0; // recursiveness
666666
#ifdef FEAT_EVAL
667-
ESTACK_CHECK_DECLARATION
668-
669667
// For every pair of do_cmdline()/do_one_cmd() calls, use an extra memory
670668
// location for storing error messages to be converted to an exception.
671669
// This ensures that the do_errthrow() call in do_one_cmd() does not
@@ -1397,6 +1395,7 @@ handle_did_throw()
13971395
{
13981396
char *p = NULL;
13991397
msglist_T *messages = NULL;
1398+
ESTACK_CHECK_DECLARATION
14001399

14011400
/*
14021401
* If the uncaught exception is a user exception, report it as an

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,8 @@ static char *(features[]) =
755755

756756
static int included_patches[] =
757757
{ /* Add new patch number below this line */
758+
/**/
759+
3262,
758760
/**/
759761
3261,
760762
/**/

0 commit comments

Comments
 (0)