From baa2d49331dea14f8554e235f54f1d88b88c9028 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Feb 18 2010 15:09:33 +0000 Subject: - patchlevel 368 --- diff --git a/7.2.368 b/7.2.368 new file mode 100644 index 0000000..4310769 --- /dev/null +++ b/7.2.368 @@ -0,0 +1,52 @@ +To: vim-dev@vim.org +Subject: Patch 7.2.368 +Fcc: outbox +From: Bram Moolenaar +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 /// diff --git a/README.patches b/README.patches index 6ea4483..0a75ab9 100644 --- a/README.patches +++ b/README.patches @@ -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 diff --git a/vim.spec b/vim.spec index e4b66c3..79c662e 100644 --- a/vim.spec +++ b/vim.spec @@ -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 7.2.368-1 +- patchlevel 368 + * Thu Feb 18 2010 Karsten Hopp 7.2.367-1 - patchlevel 367