Ozaki Kiichi wrote:

> I checked test_channel.vim on OS X 10.11.3;
> 
> ch_open('localhost' . s:port) fails by timeout, so s:start_server()
> returns (channel)-1 and s:kill_server() doesn't execute.
> 
> patch:
> I propose to use try-finally to execute s:kill_server().
> https://gist.github.com/ichizok/3820b16b7198847e75c7
> 
> And, on OS X, ch_open() needs option waittime > 0 to pass test_channel.
> 
> patch:
> use waittime option
> https://gist.github.com/ichizok/30ae71b0e12b85a1f864

Thanks, I'm glad you could solve this mystery.

I do wonder why a 1 msec waittime makes it work, it probably means there
is something wrong with what happens with the zero waittime.

-- 
hundred-and-one symptoms of being an internet addict:
206. You religiously respond immediately to e-mail, while ignoring
     your growing pile of snail mail.

 /// 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.

Raspunde prin e-mail lui