]>
Commit | Line | Data |
---|---|---|
5634d1d6 ER |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.067 | |
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.067 (after 7.3.058) | |
11 | Problem: Ruby: Init_prelude is not always available. | |
12 | Solution: Remove use of Init_prelude. (Yasuhiro Matsumoto) | |
13 | Files: src/if_ruby.c | |
14 | ||
15 | ||
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 | |
18 | *************** | |
19 | *** 231,237 **** | |
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 | |
26 | #endif | |
27 | --- 231,236 ---- | |
28 | *************** | |
29 | *** 433,439 **** | |
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}, | |
36 | #endif | |
37 | --- 432,437 ---- | |
38 | *************** | |
39 | *** 675,681 **** | |
40 | /* This avoids the error "Encoding::ConverterNotFoundError: code | |
41 | * converter not found (UTF-16LE to ASCII-8BIT)". */ | |
42 | rb_define_module("Gem"); | |
43 | - Init_prelude(); | |
44 | rb_const_remove(rb_cObject, rb_intern2("TMP_RUBY_PREFIX", 15)); | |
45 | #endif | |
46 | ruby_vim_init(); | |
47 | --- 673,678 ---- | |
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 | |
50 | *************** | |
51 | *** 716,717 **** | |
52 | --- 716,719 ---- | |
53 | { /* Add new patch number below this line */ | |
54 | + /**/ | |
55 | + 67, | |
56 | /**/ | |
57 | ||
58 | -- | |
59 | CART DRIVER: Bring out your dead! | |
60 | LARGE MAN: Here's one! | |
61 | CART DRIVER: Ninepence. | |
62 | BODY: I'm not dead! | |
63 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
64 | ||
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 /// |