mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.0024
Problem: When the netbeans channel closes, "DETACH" is put in the output part. (Ozaki Kiichi) Solution: Write "DETACH" in the socket part.
This commit is contained in:
@@ -3061,7 +3061,7 @@ channel_close_on_error(channel_T *channel, char *func)
|
|||||||
* Only send "DETACH" for a netbeans channel.
|
* Only send "DETACH" for a netbeans channel.
|
||||||
*/
|
*/
|
||||||
if (channel->ch_nb_close_cb != NULL)
|
if (channel->ch_nb_close_cb != NULL)
|
||||||
channel_save(channel, PART_OUT, (char_u *)DETACH_MSG_RAW,
|
channel_save(channel, PART_SOCK, (char_u *)DETACH_MSG_RAW,
|
||||||
(int)STRLEN(DETACH_MSG_RAW), FALSE, "PUT ");
|
(int)STRLEN(DETACH_MSG_RAW), FALSE, "PUT ");
|
||||||
|
|
||||||
/* When reading from stdout is not possible, assume the other side has
|
/* When reading from stdout is not possible, assume the other side has
|
||||||
|
@@ -35,6 +35,7 @@ func Nb_basic(port)
|
|||||||
nbclose
|
nbclose
|
||||||
|
|
||||||
call WaitFor('len(readfile("Xnetbeans")) > 6')
|
call WaitFor('len(readfile("Xnetbeans")) > 6')
|
||||||
|
call assert_false(has("netbeans_enabled"))
|
||||||
let lines = readfile("Xnetbeans")
|
let lines = readfile("Xnetbeans")
|
||||||
call assert_equal('AUTH bunny', lines[0])
|
call assert_equal('AUTH bunny', lines[0])
|
||||||
call assert_equal('0:version=0 "2.5"', lines[1])
|
call assert_equal('0:version=0 "2.5"', lines[1])
|
||||||
|
@@ -764,6 +764,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 */
|
||||||
|
/**/
|
||||||
|
24,
|
||||||
/**/
|
/**/
|
||||||
23,
|
23,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user