]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.501
- add patches 7.3.619-743
[packages/vim.git] / 7.3.501
CommitLineData
03d4279c
AM
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.501
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.501
11Problem: Error for "flush" not being defined when using Ruby command.
12Solution: Defined "flush" as a no-op method. (Kent Sibilev)
13Files: 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--
53Q: What do you call a fish without an eye?
54A: fsh!
55Q: What do you call a deer with no eyes?
56A: no eye deer.
57Q: What do you call a deer with no eyes and no legs?
58A: 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.17558 seconds and 4 git commands to generate.