Patch 7.4.1829 (after 7.4.1828)
Problem: No message on channel log when buffer was freed.
Solution: Log a message.
Files: src/channel.c
*** ../vim-7.4.1828/src/channel.c 2016-05-09 20:38:48.580112142 +0200
--- src/channel.c 2016-05-09 20:47:58.337874544 +0200
***************
*** 63,68 ****
--- 63,70 ----
* is safe to invoke callbacks. */
static int safe_to_invoke_callback = 0;
+ static char *part_names[] = {"sock", "out", "err", "in"};
+
#ifdef WIN32
static int
fd_read(sock_T fd, char *buf, size_t len)
***************
*** 1422,1428 ****
--- 1424,1434 ----
chanpart_T *ch_part = &channel->ch_part[part];
if (ch_part->ch_buffer == buf)
+ {
+ ch_logs(channel, "%s buffer has been wiped out",
+ part_names[part]);
ch_part->ch_buffer = NULL;
+ }
}
}
*** ../vim-7.4.1828/src/version.c 2016-05-09 20:38:48.580112142 +0200
--- src/version.c 2016-05-09 20:50:48.471943264 +0200
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 1829,
/**/
--
SOLDIER: Where did you get the coconuts?
ARTHUR: Through ... We found them.
SOLDIER: Found them? In Mercea. The coconut's tropical!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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].
For more options, visit https://groups.google.com/d/optout.