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.3 / 7.3.721 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.721
  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.3.721
  11. Problem:    Ruby interface defines local functions globally.
  12. Solution:   Make the functions static.
  13. Files:        src/if_ruby.c
  14.  
  15.  
  16. *** ../vim-7.3.720/src/if_ruby.c    2012-10-03 18:06:55.000000000 +0200
  17. --- src/if_ruby.c    2012-11-20 15:35:46.000000000 +0100
  18. ***************
  19. *** 336,346 ****
  20.   #endif
  21.   
  22.   #ifdef RUBY19_OR_LATER
  23. ! SIGNED_VALUE rb_num2long_stub(VALUE x)
  24.   {
  25.       return dll_rb_num2long(x);
  26.   }
  27. ! VALUE rb_int2big_stub(SIGNED_VALUE x)
  28.   {
  29.       return dll_rb_int2big(x);
  30.   }
  31. --- 336,346 ----
  32.   #endif
  33.   
  34.   #ifdef RUBY19_OR_LATER
  35. ! static SIGNED_VALUE rb_num2long_stub(VALUE x)
  36.   {
  37.       return dll_rb_num2long(x);
  38.   }
  39. ! static VALUE rb_int2big_stub(SIGNED_VALUE x)
  40.   {
  41.       return dll_rb_int2big(x);
  42.   }
  43. *** ../vim-7.3.720/src/version.c    2012-11-20 16:56:49.000000000 +0100
  44. --- src/version.c    2012-11-20 16:58:32.000000000 +0100
  45. ***************
  46. *** 727,728 ****
  47. --- 727,730 ----
  48.   {   /* Add new patch number below this line */
  49. + /**/
  50. +     721,
  51.   /**/
  52.  
  53. -- 
  54. hundred-and-one symptoms of being an internet addict:
  55. 39. You move into a new house and decide to Netscape before you landscape.
  56.  
  57.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  58. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  59. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  60.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  61.