]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.501
- add patches 7.3.619-743
[packages/vim.git] / 7.3.501
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.501
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.501
11 Problem:    Error for "flush" not being defined when using Ruby command.
12 Solution:   Defined "flush" as a no-op method. (Kent Sibilev)
13 Files:      src/if_ruby.c
14
15
16 *** ../vim-7.3.500/src/if_ruby.c        2011-08-04 19:34:55.000000000 +0200
17 --- src/if_ruby.c       2012-04-20 16:18:56.000000000 +0200
18 ***************
19 *** 1238,1243 ****
20 --- 1238,1248 ----
21       return Qnil;
22   }
23   
24 + static VALUE f_nop(VALUE self)
25 + {
26 +     return Qnil;
27 + }
28
29   static VALUE f_p(int argc, VALUE *argv, VALUE self UNUSED)
30   {
31       int i;
32 ***************
33 *** 1259,1264 ****
34 --- 1264,1270 ----
35   
36       rb_stdout = rb_obj_alloc(rb_cObject);
37       rb_define_singleton_method(rb_stdout, "write", vim_message, 1);
38 +     rb_define_singleton_method(rb_stdout, "flush", f_nop, 0);
39       rb_define_global_function("p", f_p, -1);
40   }
41   
42 *** ../vim-7.3.500/src/version.c        2012-04-20 16:13:21.000000000 +0200
43 --- src/version.c       2012-04-20 16:19:03.000000000 +0200
44 ***************
45 *** 716,717 ****
46 --- 716,719 ----
47   {   /* Add new patch number below this line */
48 + /**/
49 +     501,
50   /**/
51
52 -- 
53 Q: What do you call a fish without an eye?
54 A: fsh!
55 Q: What do you call a deer with no eyes?
56 A: no eye deer.
57 Q: What do you call a deer with no eyes and no legs?
58 A: still no eye deer.
59
60  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
61 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
62 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
63  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.376255 seconds and 3 git commands to generate.