0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.0657: get error for using regexp recursively

Problem:    Get error for using regexp recursively. (Dominique Pelle)
Solution:   Do no check if connection is desired.
This commit is contained in:
Bram Moolenaar 2018-12-29 13:09:46 +01:00
parent c0c7549687
commit 01e51e5b30
2 changed files with 4 additions and 2 deletions

View File

@ -1742,8 +1742,8 @@ x_IOerror_handler(Display *dpy UNUSED)
static void
may_restore_clipboard(void)
{
// Only try restoring if we want the connection.
if (x_connect_to_server() && xterm_dpy_retry_count > 0)
// No point in restoring the connecting if we are exiting or dying.
if (!exiting && !v_dying && xterm_dpy_retry_count > 0)
{
--xterm_dpy_retry_count;

View File

@ -799,6 +799,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
657,
/**/
656,
/**/