- patchlevel 368

This commit is contained in:
Karsten Hopp 2010-02-18 15:29:13 +00:00
parent 07a4c1af91
commit 33c606d42b
3 changed files with 59 additions and 1 deletions

52
7.2.368 Normal file
View File

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

View File

@ -398,3 +398,4 @@ Individual patches for Vim 7.2:
2390 7.2.365 (extra) MS-Windows with MingW: "File->Save As" does not work
3802 7.2.366 CTRL-B doesn't go back to the first line of the buffer
3236 7.2.367 "xxd -r -p" doesn't work as documented
1623 7.2.368 (after 7.2.361) append line with Ruby interface doesn't work

View File

@ -18,7 +18,7 @@
#used for pre-releases:
%define beta %{nil}
%define vimdir vim72%{?beta}
%define patchlevel 367
%define patchlevel 368
Summary: The VIM editor
URL: http://www.vim.org/
@ -433,6 +433,7 @@ Patch364: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.364
Patch365: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.365
Patch366: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.366
Patch367: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.367
Patch368: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.368
Patch3000: vim-7.0-syntax.patch
Patch3002: vim-7.1-nowarnings.patch
@ -938,6 +939,7 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
%patch365 -p0
%patch366 -p0
%patch367 -p0
%patch368 -p0
# install spell files
@ -1402,6 +1404,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/icons/hicolor/*/apps/*
%changelog
* Thu Feb 18 2010 Karsten Hopp <karsten@redhat.com> 7.2.368-1
- patchlevel 368
* Thu Feb 18 2010 Karsten Hopp <karsten@redhat.com> 7.2.367-1
- patchlevel 367