Karsten Hopp d256b7
To: vim_dev@googlegroups.com
Karsten Hopp d256b7
Subject: Patch 7.3.067
Karsten Hopp d256b7
Fcc: outbox
Karsten Hopp d256b7
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp d256b7
Mime-Version: 1.0
Karsten Hopp d256b7
Content-Type: text/plain; charset=UTF-8
Karsten Hopp d256b7
Content-Transfer-Encoding: 8bit
Karsten Hopp d256b7
------------
Karsten Hopp d256b7
Karsten Hopp d256b7
Patch 7.3.067 (after 7.3.058)
Karsten Hopp d256b7
Problem:    Ruby: Init_prelude is not always available.
Karsten Hopp d256b7
Solution:   Remove use of Init_prelude. (Yasuhiro Matsumoto)
Karsten Hopp d256b7
Files:	    src/if_ruby.c
Karsten Hopp d256b7
Karsten Hopp d256b7
Karsten Hopp d256b7
*** ../vim-7.3.066/src/if_ruby.c	2010-11-16 14:46:14.000000000 +0100
Karsten Hopp d256b7
--- src/if_ruby.c	2010-11-24 16:53:06.000000000 +0100
Karsten Hopp d256b7
***************
Karsten Hopp d256b7
*** 231,237 ****
Karsten Hopp d256b7
  # define rb_enc_str_new			dll_rb_enc_str_new
Karsten Hopp d256b7
  # define rb_intern2			dll_rb_intern2
Karsten Hopp d256b7
  # define rb_const_remove		dll_rb_const_remove
Karsten Hopp d256b7
- # define Init_prelude			dll_Init_prelude
Karsten Hopp d256b7
  # define rb_sprintf			dll_rb_sprintf
Karsten Hopp d256b7
  # define ruby_init_stack		dll_ruby_init_stack
Karsten Hopp d256b7
  #endif
Karsten Hopp d256b7
--- 231,236 ----
Karsten Hopp d256b7
***************
Karsten Hopp d256b7
*** 433,439 ****
Karsten Hopp d256b7
      {"rb_enc_str_new", (RUBY_PROC*)&dll_rb_enc_str_new},
Karsten Hopp d256b7
      {"rb_intern2", (RUBY_PROC*)&dll_rb_intern2},
Karsten Hopp d256b7
      {"rb_const_remove", (RUBY_PROC*)&dll_rb_const_remove},
Karsten Hopp d256b7
-     {"Init_prelude", (RUBY_PROC*)&dll_Init_prelude},
Karsten Hopp d256b7
      {"rb_sprintf", (RUBY_PROC*)&dll_rb_sprintf},
Karsten Hopp d256b7
      {"ruby_init_stack", (RUBY_PROC*)&dll_ruby_init_stack},
Karsten Hopp d256b7
  #endif
Karsten Hopp d256b7
--- 432,437 ----
Karsten Hopp d256b7
***************
Karsten Hopp d256b7
*** 675,681 ****
Karsten Hopp d256b7
  	    /* This avoids the error "Encoding::ConverterNotFoundError: code
Karsten Hopp d256b7
  	     * converter not found (UTF-16LE to ASCII-8BIT)". */
Karsten Hopp d256b7
  	    rb_define_module("Gem");
Karsten Hopp d256b7
- 	    Init_prelude();
Karsten Hopp d256b7
  	    rb_const_remove(rb_cObject, rb_intern2("TMP_RUBY_PREFIX", 15));
Karsten Hopp d256b7
  #endif
Karsten Hopp d256b7
  	    ruby_vim_init();
Karsten Hopp d256b7
--- 673,678 ----
Karsten Hopp d256b7
*** ../vim-7.3.066/src/version.c	2010-11-24 16:31:55.000000000 +0100
Karsten Hopp d256b7
--- src/version.c	2010-11-24 16:53:35.000000000 +0100
Karsten Hopp d256b7
***************
Karsten Hopp d256b7
*** 716,717 ****
Karsten Hopp d256b7
--- 716,719 ----
Karsten Hopp d256b7
  {   /* Add new patch number below this line */
Karsten Hopp d256b7
+ /**/
Karsten Hopp d256b7
+     67,
Karsten Hopp d256b7
  /**/
Karsten Hopp d256b7
Karsten Hopp d256b7
-- 
Karsten Hopp d256b7
CART DRIVER: Bring out your dead!
Karsten Hopp d256b7
LARGE MAN:   Here's one!
Karsten Hopp d256b7
CART DRIVER: Ninepence.
Karsten Hopp d256b7
BODY:        I'm not dead!
Karsten Hopp d256b7
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp d256b7
Karsten Hopp d256b7
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp d256b7
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp d256b7
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp d256b7
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///