]> granicus.if.org Git - vim/commitdiff
patch 8.2.3002: Vim doesn't abort on a fatal Tcl error v8.2.3002
authorDominique Pelle <dominique.pelle@gmail.com>
Tue, 15 Jun 2021 17:09:43 +0000 (19:09 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 15 Jun 2021 17:09:43 +0000 (19:09 +0200)
Problem:    Vim doesn't abort on a fatal Tcl error.
Solution:   Change emsg() to iemsg(). (Dominique PellĂ©, closes #8383)

src/if_tcl.c
src/version.c

index 47e734b2044557366ab1b86107b134c58dcfa597..c3b9c5bbee2347c5f5b0caa9df230ed9b37bf10f 100644 (file)
@@ -1531,7 +1531,7 @@ tclsetdelcmd(
        reflist = reflist->next;
     }
     // This should never happen.  Famous last word?
-    emsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to vim-dev@vim.org"));
+    iemsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to vim-dev@vim.org"));
     Tcl_SetResult(interp, _("cannot register callback command: buffer/window reference not found"), TCL_STATIC);
     return TCL_ERROR;
 }
index 3696c2e2a81932024d45e35bed1d3ff4ba7af96a..1f757b297e374ae83a55824733d7b379113e88f8 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3002,
 /**/
     3001,
 /**/