Patch 8.0.0187
Problem: Building with a new Ruby version fails.
Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf,
closes #1382)
Files: src/if_ruby.c
*** ../vim-8.0.0186/src/if_ruby.c 2017-01-09 21:10:29.300184895 +0100
--- src/if_ruby.c 2017-01-14 20:09:54.001642368 +0100
***************
*** 862,868 ****
--- 862,872 ----
int argc = 1;
char *argv[] = {"gvim.exe"};
char **argvp = argv;
+ # ifdef RUBY19_OR_LATER
+ ruby_sysinit(&argc, &argvp);
+ # else
NtInitialize(&argc, &argvp);
+ # endif
#endif
{
#if defined(RUBY19_OR_LATER) || defined(RUBY_INIT_STACK)
*** ../vim-8.0.0186/src/version.c 2017-01-14 20:06:11.127087707 +0100
--- src/version.c 2017-01-14 20:11:17.953098490 +0100
***************
*** 766,767 ****
--- 766,769 ----
{ /* Add new patch number below this line */
+ /**/
+ 187,
/**/
--
There is a fine line between courage and foolishness.
Unfortunately, it's not a fence.
/// 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.