mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.897
Problem: Freeze and crash when there is a sleep in a remote command. (Karl Yngve Lervåg) Solution: Remove a message from the queue before dealing with it. (James Kolb)
This commit is contained in:
@@ -1235,9 +1235,9 @@ server_parse_messages()
|
|||||||
while (head.next != NULL && head.next != &head)
|
while (head.next != NULL && head.next != &head)
|
||||||
{
|
{
|
||||||
node = head.next;
|
node = head.next;
|
||||||
server_parse_message(X_DISPLAY, node->propInfo, node->len);
|
|
||||||
head.next = node->next;
|
head.next = node->next;
|
||||||
node->next->prev = node->prev;
|
node->next->prev = node->prev;
|
||||||
|
server_parse_message(X_DISPLAY, node->propInfo, node->len);
|
||||||
vim_free(node);
|
vim_free(node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
897,
|
||||||
/**/
|
/**/
|
||||||
896,
|
896,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user