home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.501 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.7 KB

  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.   static VALUE f_p(int argc, VALUE *argv, VALUE self UNUSED)
  29.   {
  30.       int i;
  31. ***************
  32. *** 1259,1264 ****
  33. --- 1264,1270 ----
  34.   
  35.       rb_stdout = rb_obj_alloc(rb_cObject);
  36.       rb_define_singleton_method(rb_stdout, "write", vim_message, 1);
  37. +     rb_define_singleton_method(rb_stdout, "flush", f_nop, 0);
  38.       rb_define_global_function("p", f_p, -1);
  39.   }
  40.   
  41. *** ../vim-7.3.500/src/version.c    2012-04-20 16:13:21.000000000 +0200
  42. --- src/version.c    2012-04-20 16:19:03.000000000 +0200
  43. ***************
  44. *** 716,717 ****
  45. --- 716,719 ----
  46.   {   /* Add new patch number below this line */
  47. + /**/
  48. +     501,
  49.   /**/
  50.  
  51. -- 
  52. Q: What do you call a fish without an eye?
  53. A: fsh!
  54. Q: What do you call a deer with no eyes?
  55. A: no eye deer.
  56. Q: What do you call a deer with no eyes and no legs?
  57. A: still no eye deer.
  58.  
  59.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  60. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  61. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  62.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  63.