home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.225 < prev    next >
Encoding:
Internet Message Format  |  2014-03-26  |  2.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.225
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.225
  11. Problem:    Dynamic Ruby doesn't work on Solaris.
  12. Solution:   Always use the stubs. (Danek Duvall, Yukihiro Nakadaira)
  13. Files:        src/if_ruby.c
  14.  
  15.  
  16. *** ../vim-7.4.224/src/if_ruby.c    2014-02-23 22:52:33.352764716 +0100
  17. --- src/if_ruby.c    2014-03-27 18:56:37.428765988 +0100
  18. ***************
  19. *** 88,95 ****
  20.   # define rb_int2big rb_int2big_stub
  21.   #endif
  22.   
  23. ! #if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20 \
  24. !     && VIM_SIZEOF_INT < VIM_SIZEOF_LONG
  25.   /* Ruby 2.0 defines a number of static functions which use rb_fix2int and
  26.    * rb_num2int if VIM_SIZEOF_INT < VIM_SIZEOF_LONG (64bit) */
  27.   # define rb_fix2int rb_fix2int_stub
  28. --- 88,94 ----
  29.   # define rb_int2big rb_int2big_stub
  30.   #endif
  31.   
  32. ! #if defined(DYNAMIC_RUBY_VER) && VIM_SIZEOF_INT < VIM_SIZEOF_LONG
  33.   /* Ruby 2.0 defines a number of static functions which use rb_fix2int and
  34.    * rb_num2int if VIM_SIZEOF_INT < VIM_SIZEOF_LONG (64bit) */
  35.   # define rb_fix2int rb_fix2int_stub
  36. ***************
  37. *** 203,210 ****
  38.   # define rb_inspect            dll_rb_inspect
  39.   # define rb_int2inum            dll_rb_int2inum
  40.   # if VIM_SIZEOF_INT < VIM_SIZEOF_LONG /* 64 bits only */
  41. - #  define rb_fix2int            dll_rb_fix2int
  42. - #  define rb_num2int            dll_rb_num2int
  43.   #  define rb_num2uint            dll_rb_num2uint
  44.   # endif
  45.   # define rb_lastline_get            dll_rb_lastline_get
  46. --- 202,207 ----
  47. ***************
  48. *** 392,399 ****
  49.   {
  50.       return dll_rb_int2big(x);
  51.   }
  52. ! #  if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 20 \
  53. !     && VIM_SIZEOF_INT < VIM_SIZEOF_LONG
  54.   long rb_fix2int_stub(VALUE x)
  55.   {
  56.       return dll_rb_fix2int(x);
  57. --- 389,395 ----
  58.   {
  59.       return dll_rb_int2big(x);
  60.   }
  61. ! #  if defined(DYNAMIC_RUBY_VER) && VIM_SIZEOF_INT < VIM_SIZEOF_LONG
  62.   long rb_fix2int_stub(VALUE x)
  63.   {
  64.       return dll_rb_fix2int(x);
  65. *** ../vim-7.4.224/src/version.c    2014-03-27 18:51:06.612760919 +0100
  66. --- src/version.c    2014-03-27 18:55:21.412764824 +0100
  67. ***************
  68. *** 736,737 ****
  69. --- 736,739 ----
  70.   {   /* Add new patch number below this line */
  71. + /**/
  72. +     225,
  73.   /**/
  74.  
  75. -- 
  76. Engineers are widely recognized as superior marriage material: intelligent,
  77. dependable, employed, honest, and handy around the house.
  78.                 (Scott Adams - The Dilbert principle)
  79.  
  80.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  81. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  82. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  83.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  84.