|
Karsten Hopp |
19175a |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
19175a |
Subject: Patch 7.3.935
|
|
Karsten Hopp |
19175a |
Fcc: outbox
|
|
Karsten Hopp |
19175a |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
19175a |
Mime-Version: 1.0
|
|
Karsten Hopp |
19175a |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
19175a |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
19175a |
------------
|
|
Karsten Hopp |
19175a |
|
|
Karsten Hopp |
19175a |
Patch 7.3.935 (after 7.3.933)
|
|
Karsten Hopp |
19175a |
Problem: Init stack works differently on 64 bit systems.
|
|
Karsten Hopp |
19175a |
Solution: Handle 64 bit systems and also static library. (Yukihiro
|
|
Karsten Hopp |
19175a |
Nakadaira)
|
|
Karsten Hopp |
19175a |
Files: src/if_ruby.c
|
|
Karsten Hopp |
19175a |
|
|
Karsten Hopp |
19175a |
|
|
Karsten Hopp |
19175a |
*** ../vim-7.3.934/src/if_ruby.c 2013-05-11 13:56:12.000000000 +0200
|
|
Karsten Hopp |
19175a |
--- src/if_ruby.c 2013-05-11 17:31:55.000000000 +0200
|
|
Karsten Hopp |
19175a |
***************
|
|
Karsten Hopp |
19175a |
*** 227,233 ****
|
|
Karsten Hopp |
19175a |
# define rb_float_new dll_rb_float_new
|
|
Karsten Hopp |
19175a |
# define rb_ary_new dll_rb_ary_new
|
|
Karsten Hopp |
19175a |
# define rb_ary_push dll_rb_ary_push
|
|
Karsten Hopp |
19175a |
! # define ruby_init_stack dll_ruby_init_stack
|
|
Karsten Hopp |
19175a |
#else
|
|
Karsten Hopp |
19175a |
# define rb_str2cstr dll_rb_str2cstr
|
|
Karsten Hopp |
19175a |
#endif
|
|
Karsten Hopp |
19175a |
--- 227,239 ----
|
|
Karsten Hopp |
19175a |
# define rb_float_new dll_rb_float_new
|
|
Karsten Hopp |
19175a |
# define rb_ary_new dll_rb_ary_new
|
|
Karsten Hopp |
19175a |
# define rb_ary_push dll_rb_ary_push
|
|
Karsten Hopp |
19175a |
! # ifdef __ia64
|
|
Karsten Hopp |
19175a |
! # define rb_ia64_bsp dll_rb_ia64_bsp
|
|
Karsten Hopp |
19175a |
! # undef ruby_init_stack
|
|
Karsten Hopp |
19175a |
! # define ruby_init_stack(addr) dll_ruby_init_stack((addr), rb_ia64_bsp())
|
|
Karsten Hopp |
19175a |
! # else
|
|
Karsten Hopp |
19175a |
! # define ruby_init_stack dll_ruby_init_stack
|
|
Karsten Hopp |
19175a |
! # endif
|
|
Karsten Hopp |
19175a |
#else
|
|
Karsten Hopp |
19175a |
# define rb_str2cstr dll_rb_str2cstr
|
|
Karsten Hopp |
19175a |
#endif
|
|
Karsten Hopp |
19175a |
***************
|
|
Karsten Hopp |
19175a |
*** 336,342 ****
|
|
Karsten Hopp |
19175a |
static VALUE (*dll_rb_float_new) (double);
|
|
Karsten Hopp |
19175a |
static VALUE (*dll_rb_ary_new) (void);
|
|
Karsten Hopp |
19175a |
static VALUE (*dll_rb_ary_push) (VALUE, VALUE);
|
|
Karsten Hopp |
19175a |
! static void (*ruby_init_stack)(VALUE*);
|
|
Karsten Hopp |
19175a |
#endif
|
|
Karsten Hopp |
19175a |
#ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
19175a |
static VALUE (*dll_rb_int2big)(SIGNED_VALUE);
|
|
Karsten Hopp |
19175a |
--- 342,353 ----
|
|
Karsten Hopp |
19175a |
static VALUE (*dll_rb_float_new) (double);
|
|
Karsten Hopp |
19175a |
static VALUE (*dll_rb_ary_new) (void);
|
|
Karsten Hopp |
19175a |
static VALUE (*dll_rb_ary_push) (VALUE, VALUE);
|
|
Karsten Hopp |
19175a |
! # ifdef __ia64
|
|
Karsten Hopp |
19175a |
! static void * (*dll_rb_ia64_bsp) (void);
|
|
Karsten Hopp |
19175a |
! static void (*dll_ruby_init_stack)(VALUE*, void*);
|
|
Karsten Hopp |
19175a |
! # else
|
|
Karsten Hopp |
19175a |
! static void (*dll_ruby_init_stack)(VALUE*);
|
|
Karsten Hopp |
19175a |
! # endif
|
|
Karsten Hopp |
19175a |
#endif
|
|
Karsten Hopp |
19175a |
#ifdef RUBY19_OR_LATER
|
|
Karsten Hopp |
19175a |
static VALUE (*dll_rb_int2big)(SIGNED_VALUE);
|
|
Karsten Hopp |
19175a |
***************
|
|
Karsten Hopp |
19175a |
*** 476,481 ****
|
|
Karsten Hopp |
19175a |
--- 487,495 ----
|
|
Karsten Hopp |
19175a |
#endif
|
|
Karsten Hopp |
19175a |
#if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
19175a |
{"rb_string_value_ptr", (RUBY_PROC*)&dll_rb_string_value_ptr},
|
|
Karsten Hopp |
19175a |
+ # ifdef __ia64
|
|
Karsten Hopp |
19175a |
+ {"rb_ia64_bsp", (RUBY_PROC*)&dll_rb_ia64_bsp},
|
|
Karsten Hopp |
19175a |
+ # endif
|
|
Karsten Hopp |
19175a |
{"ruby_init_stack", (RUBY_PROC*)&dll_ruby_init_stack},
|
|
Karsten Hopp |
19175a |
# if DYNAMIC_RUBY_VER <= 19
|
|
Karsten Hopp |
19175a |
{"rb_float_new", (RUBY_PROC*)&dll_rb_float_new},
|
|
Karsten Hopp |
19175a |
***************
|
|
Karsten Hopp |
19175a |
*** 717,723 ****
|
|
Karsten Hopp |
19175a |
NtInitialize(&argc, &argv);
|
|
Karsten Hopp |
19175a |
#endif
|
|
Karsten Hopp |
19175a |
{
|
|
Karsten Hopp |
19175a |
! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 18
|
|
Karsten Hopp |
19175a |
ruby_init_stack(ruby_stack_start);
|
|
Karsten Hopp |
19175a |
#endif
|
|
Karsten Hopp |
19175a |
ruby_init();
|
|
Karsten Hopp |
19175a |
--- 731,737 ----
|
|
Karsten Hopp |
19175a |
NtInitialize(&argc, &argv);
|
|
Karsten Hopp |
19175a |
#endif
|
|
Karsten Hopp |
19175a |
{
|
|
Karsten Hopp |
19175a |
! #if defined(RUBY_VERSION) && RUBY_VERSION >= 18
|
|
Karsten Hopp |
19175a |
ruby_init_stack(ruby_stack_start);
|
|
Karsten Hopp |
19175a |
#endif
|
|
Karsten Hopp |
19175a |
ruby_init();
|
|
Karsten Hopp |
19175a |
*** ../vim-7.3.934/src/version.c 2013-05-11 15:50:02.000000000 +0200
|
|
Karsten Hopp |
19175a |
--- src/version.c 2013-05-11 17:39:08.000000000 +0200
|
|
Karsten Hopp |
19175a |
***************
|
|
Karsten Hopp |
19175a |
*** 730,731 ****
|
|
Karsten Hopp |
19175a |
--- 730,733 ----
|
|
Karsten Hopp |
19175a |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
19175a |
+ /**/
|
|
Karsten Hopp |
19175a |
+ 935,
|
|
Karsten Hopp |
19175a |
/**/
|
|
Karsten Hopp |
19175a |
|
|
Karsten Hopp |
19175a |
--
|
|
Karsten Hopp |
19175a |
ARTHUR: Well, it doesn't matter. Will you go and tell your master that
|
|
Karsten Hopp |
19175a |
Arthur from the Court of Camelot is here.
|
|
Karsten Hopp |
19175a |
GUARD #1: Listen, in order to maintain air-speed velocity, a swallow
|
|
Karsten Hopp |
19175a |
needs to beat its wings 43 times every second, right?
|
|
Karsten Hopp |
19175a |
ARTHUR: Please!
|
|
Karsten Hopp |
19175a |
The Quest for the Holy Grail (Monty Python)
|
|
Karsten Hopp |
19175a |
|
|
Karsten Hopp |
19175a |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
19175a |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
19175a |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
19175a |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|