hi there.

I found a ruby command's bug on Windows VIM.

:ruby require 'open-uri'
:ruby open('http://google.com/')
 => SocketError: `initialize': getaddrinfo: non-recoverable failure in
name resolution.
:ruby open('http://66.249.89.147')
 => vim dies

In Windows, NtInitialize() should called when initializing Ruby.
Otherwise, socket is never initialized.

Here is patch.

thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Attachment: vim72-ruby18-fix.diff
Description: Binary data

Raspunde prin e-mail lui