1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
10 Patch 7.3.067 (after 7.3.058)
11 Problem: Ruby: Init_prelude is not always available.
12 Solution: Remove use of Init_prelude. (Yasuhiro Matsumoto)
16 *** ../vim-7.3.066/src/if_ruby.c 2010-11-16 14:46:14.000000000 +0100
17 --- src/if_ruby.c 2010-11-24 16:53:06.000000000 +0100
20 # define rb_enc_str_new dll_rb_enc_str_new
21 # define rb_intern2 dll_rb_intern2
22 # define rb_const_remove dll_rb_const_remove
23 - # define Init_prelude dll_Init_prelude
24 # define rb_sprintf dll_rb_sprintf
25 # define ruby_init_stack dll_ruby_init_stack
30 {"rb_enc_str_new", (RUBY_PROC*)&dll_rb_enc_str_new},
31 {"rb_intern2", (RUBY_PROC*)&dll_rb_intern2},
32 {"rb_const_remove", (RUBY_PROC*)&dll_rb_const_remove},
33 - {"Init_prelude", (RUBY_PROC*)&dll_Init_prelude},
34 {"rb_sprintf", (RUBY_PROC*)&dll_rb_sprintf},
35 {"ruby_init_stack", (RUBY_PROC*)&dll_ruby_init_stack},
40 /* This avoids the error "Encoding::ConverterNotFoundError: code
41 * converter not found (UTF-16LE to ASCII-8BIT)". */
42 rb_define_module("Gem");
44 rb_const_remove(rb_cObject, rb_intern2("TMP_RUBY_PREFIX", 15));
48 *** ../vim-7.3.066/src/version.c 2010-11-24 16:31:55.000000000 +0100
49 --- src/version.c 2010-11-24 16:53:35.000000000 +0100
53 { /* Add new patch number below this line */
59 CART DRIVER: Bring out your dead!
60 LARGE MAN: Here's one!
61 CART DRIVER: Ninepence.
63 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
65 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
66 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
67 \\\ an exciting new programming language -- http://www.Zimbu.org ///
68 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///