Patch 8.2.3002
Problem: Vim doesn't abort on a fatal Tcl error.
Solution: Change emsg() to iemsg(). (Dominique Pellé, closes #8383)
Files: src/if_tcl.c
*** ../vim-8.2.3001/src/if_tcl.c 2020-12-31 18:11:13.470120184 +0100
--- src/if_tcl.c 2021-06-15 19:07:37.566814597 +0200
***************
*** 1531,1537 ****
reflist = reflist->next;
}
// This should never happen. Famous last word?
! emsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to
[email protected]"));
Tcl_SetResult(interp, _("cannot register callback command: buffer/window
reference not found"), TCL_STATIC);
return TCL_ERROR;
}
--- 1531,1537 ----
reflist = reflist->next;
}
// This should never happen. Famous last word?
! iemsg(_("E280: TCL FATAL ERROR: reflist corrupt!? Please report this to
[email protected]"));
Tcl_SetResult(interp, _("cannot register callback command: buffer/window
reference not found"), TCL_STATIC);
return TCL_ERROR;
}
*** ../vim-8.2.3001/src/version.c 2021-06-15 11:27:17.713718186 +0200
--- src/version.c 2021-06-15 19:08:40.874646931 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 3002,
/**/
--
I recommend ordering large cargo containers of paper towels to make up
whatever budget underruns you have. Paper products are always useful and they
have the advantage of being completely flushable if you need to make room in
the storage area later.
(Scott Adams - The Dilbert principle)
/// 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/202106151710.15FHACRA1150012%40masaka.moolenaar.net.