|
Karsten Hopp |
33c606 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
33c606 |
Subject: Patch 7.2.368
|
|
Karsten Hopp |
33c606 |
Fcc: outbox
|
|
Karsten Hopp |
33c606 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
33c606 |
Mime-Version: 1.0
|
|
Karsten Hopp |
33c606 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
33c606 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
33c606 |
------------
|
|
Karsten Hopp |
33c606 |
|
|
Karsten Hopp |
33c606 |
Patch 7.2.368 (after 7.2.361)
|
|
Karsten Hopp |
33c606 |
Problem: Ruby interface: Appending line doesn't work. (Michael Henry)
|
|
Karsten Hopp |
33c606 |
Solution: Reverse check for NULL line. (James Vega)
|
|
Karsten Hopp |
33c606 |
Files: src/if_ruby.c
|
|
Karsten Hopp |
33c606 |
|
|
Karsten Hopp |
33c606 |
|
|
Karsten Hopp |
33c606 |
*** ../vim-7.2.367/src/if_ruby.c 2010-02-17 16:23:03.000000000 +0100
|
|
Karsten Hopp |
33c606 |
--- src/if_ruby.c 2010-02-18 15:47:42.000000000 +0100
|
|
Karsten Hopp |
33c606 |
***************
|
|
Karsten Hopp |
33c606 |
*** 869,875 ****
|
|
Karsten Hopp |
33c606 |
long n = NUM2LONG(num);
|
|
Karsten Hopp |
33c606 |
aco_save_T aco;
|
|
Karsten Hopp |
33c606 |
|
|
Karsten Hopp |
33c606 |
! if (line != NULL) {
|
|
Karsten Hopp |
33c606 |
rb_raise(rb_eIndexError, "NULL line");
|
|
Karsten Hopp |
33c606 |
}
|
|
Karsten Hopp |
33c606 |
else if (n >= 0 && n <= buf->b_ml.ml_line_count)
|
|
Karsten Hopp |
33c606 |
--- 869,875 ----
|
|
Karsten Hopp |
33c606 |
long n = NUM2LONG(num);
|
|
Karsten Hopp |
33c606 |
aco_save_T aco;
|
|
Karsten Hopp |
33c606 |
|
|
Karsten Hopp |
33c606 |
! if (line == NULL) {
|
|
Karsten Hopp |
33c606 |
rb_raise(rb_eIndexError, "NULL line");
|
|
Karsten Hopp |
33c606 |
}
|
|
Karsten Hopp |
33c606 |
else if (n >= 0 && n <= buf->b_ml.ml_line_count)
|
|
Karsten Hopp |
33c606 |
*** ../vim-7.2.367/src/version.c 2010-02-17 18:28:06.000000000 +0100
|
|
Karsten Hopp |
33c606 |
--- src/version.c 2010-02-18 15:48:09.000000000 +0100
|
|
Karsten Hopp |
33c606 |
***************
|
|
Karsten Hopp |
33c606 |
*** 683,684 ****
|
|
Karsten Hopp |
33c606 |
--- 683,686 ----
|
|
Karsten Hopp |
33c606 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
33c606 |
+ /**/
|
|
Karsten Hopp |
33c606 |
+ 368,
|
|
Karsten Hopp |
33c606 |
/**/
|
|
Karsten Hopp |
33c606 |
|
|
Karsten Hopp |
33c606 |
--
|
|
Karsten Hopp |
33c606 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
33c606 |
251. You've never seen your closest friends who usually live WAY too far away.
|
|
Karsten Hopp |
33c606 |
|
|
Karsten Hopp |
33c606 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
33c606 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
33c606 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
33c606 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|