Yasuhiro Matsumoto wrote:

> On Wednesday, March 9, 2016 at 4:59:07 AM UTC+9, Bram Moolenaar wrote:
> > Patch 7.4.1523
> > Problem:    Writing channel to a file fails on MS-Windows.
> > Solution:   Disable it for now.
> > Files:      src/testdir/test_channel.vim
> 
> Sorry, seems not have to use CreateFile. Below is a patch to fix. This
> patch include implementation of io-null.
> 
> https://gist.github.com/mattn/f9768332d7a5dc56db32

Thanks, I'll try it out tonight.

Unfortunately the recent changes around connect() appears to have made
the test on MS-Windows flaky:

>From test_channel.vim:
Found errors in Test_open_delay():
function
RunTheTest[9]..Test_open_delay[3]..<SNR>5_run_server[42]..<SNR>5_open_delay
line 6: 'Can''t open channel'

This is intentionally delaying creating the port on the server side, it
appears that with the fix for BSD this now fails on MS-Windows.
Perhaps the select() should use a shorter waittime and when it fails try
again.

-- 
hundred-and-one symptoms of being an internet addict:
24. You realize there is not a sound in the house and you have no idea where
    your children are.

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