|
Karsten Hopp |
7d5dcd |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
7d5dcd |
Subject: Patch 7.3.721
|
|
Karsten Hopp |
7d5dcd |
Fcc: outbox
|
|
Karsten Hopp |
7d5dcd |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7d5dcd |
Mime-Version: 1.0
|
|
Karsten Hopp |
7d5dcd |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
7d5dcd |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7d5dcd |
------------
|
|
Karsten Hopp |
7d5dcd |
|
|
Karsten Hopp |
7d5dcd |
Patch 7.3.721
|
|
Karsten Hopp |
7d5dcd |
Problem: Ruby interface defines local functions globally.
|
|
Karsten Hopp |
7d5dcd |
Solution: Make the functions static.
|
|
Karsten Hopp |
7d5dcd |
Files: src/if_ruby.c
|
|
Karsten Hopp |
7d5dcd |
|
|
Karsten Hopp |
7d5dcd |
|
|
Karsten Hopp |
7d5dcd |
*** ../vim-7.3.720/src/if_ruby.c 2012-10-03 18:06:55.000000000 +0200
|
|
Karsten Hopp |
7d5dcd |
--- src/if_ruby.c 2012-11-20 15:35:46.000000000 +0100
|
|
Karsten Hopp |
7d5dcd |
***************
|
|
Karsten Hopp |
7d5dcd |
*** 336,346 ****
|
|
Karsten Hopp |
7d5dcd |
#endif
|
|
Karsten Hopp |
7d5dcd |
|
|
Karsten Hopp |
7d5dcd |
#ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
7d5dcd |
! SIGNED_VALUE rb_num2long_stub(VALUE x)
|
|
Karsten Hopp |
7d5dcd |
{
|
|
Karsten Hopp |
7d5dcd |
return dll_rb_num2long(x);
|
|
Karsten Hopp |
7d5dcd |
}
|
|
Karsten Hopp |
7d5dcd |
! VALUE rb_int2big_stub(SIGNED_VALUE x)
|
|
Karsten Hopp |
7d5dcd |
{
|
|
Karsten Hopp |
7d5dcd |
return dll_rb_int2big(x);
|
|
Karsten Hopp |
7d5dcd |
}
|
|
Karsten Hopp |
7d5dcd |
--- 336,346 ----
|
|
Karsten Hopp |
7d5dcd |
#endif
|
|
Karsten Hopp |
7d5dcd |
|
|
Karsten Hopp |
7d5dcd |
#ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
7d5dcd |
! static SIGNED_VALUE rb_num2long_stub(VALUE x)
|
|
Karsten Hopp |
7d5dcd |
{
|
|
Karsten Hopp |
7d5dcd |
return dll_rb_num2long(x);
|
|
Karsten Hopp |
7d5dcd |
}
|
|
Karsten Hopp |
7d5dcd |
! static VALUE rb_int2big_stub(SIGNED_VALUE x)
|
|
Karsten Hopp |
7d5dcd |
{
|
|
Karsten Hopp |
7d5dcd |
return dll_rb_int2big(x);
|
|
Karsten Hopp |
7d5dcd |
}
|
|
Karsten Hopp |
7d5dcd |
*** ../vim-7.3.720/src/version.c 2012-11-20 16:56:49.000000000 +0100
|
|
Karsten Hopp |
7d5dcd |
--- src/version.c 2012-11-20 16:58:32.000000000 +0100
|
|
Karsten Hopp |
7d5dcd |
***************
|
|
Karsten Hopp |
7d5dcd |
*** 727,728 ****
|
|
Karsten Hopp |
7d5dcd |
--- 727,730 ----
|
|
Karsten Hopp |
7d5dcd |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7d5dcd |
+ /**/
|
|
Karsten Hopp |
7d5dcd |
+ 721,
|
|
Karsten Hopp |
7d5dcd |
/**/
|
|
Karsten Hopp |
7d5dcd |
|
|
Karsten Hopp |
7d5dcd |
--
|
|
Karsten Hopp |
7d5dcd |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
7d5dcd |
39. You move into a new house and decide to Netscape before you landscape.
|
|
Karsten Hopp |
7d5dcd |
|
|
Karsten Hopp |
7d5dcd |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7d5dcd |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7d5dcd |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
7d5dcd |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|