r800 - in /trunk/packages/vim: debian/changelog
patches/option.c-foldnestmax_check.diff patches/series
jamessan at users.alioth.debian.org
jamessan at users.alioth.debian.org
Sun Oct 29 15:18:53 UTC 2006
Author: jamessan
Date: Sun Oct 29 16:18:52 2006
New Revision: 800
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=800
Log:
Add option.c-foldnestmax_check.diff which prevents the infinite recursion when foldnestmax=-1
Added:
trunk/packages/vim/patches/option.c-foldnestmax_check.diff
Modified:
trunk/packages/vim/debian/changelog
trunk/packages/vim/patches/series
Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=800&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Sun Oct 29 16:18:52 2006
@@ -1,3 +1,11 @@
+vim (1:7.0-152+2) unstable; urgency=low
+
+ [ James Vega ]
+ * Add patch option.c-foldnestmax_check.diff, which ensures 'foldnestmax'
+ cannot be set to a negative number. (closes: #395413)
+
+ -- James Vega <jamessan at debian.org> Sun, 29 Oct 2006 10:08:41 -0500
+
vim (1:7.0-152+1) unstable; urgency=low
[ Debian Vim Maintainers ]
Added: trunk/packages/vim/patches/option.c-foldnestmax_check.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/option.c-foldnestmax_check.diff?rev=800&op=file
==============================================================================
--- trunk/packages/vim/patches/option.c-foldnestmax_check.diff (added)
+++ trunk/packages/vim/patches/option.c-foldnestmax_check.diff Sun Oct 29 16:18:52 2006
@@ -1,0 +1,13 @@
+Index: vim/src/option.c
+===================================================================
+--- vim/src/option.c.orig
++++ vim/src/option.c
+@@ -7705,6 +7705,8 @@
+ /* 'foldnestmax' */
+ else if (pp == &curwin->w_p_fdn)
+ {
++ if (curwin->w_p_fdn < 0)
++ curwin->w_p_fdn = 0;
+ if (foldmethodIsSyntax(curwin) || foldmethodIsIndent(curwin))
+ foldUpdateAll(curwin);
+ }
Modified: trunk/packages/vim/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/series?rev=800&op=diff
==============================================================================
--- trunk/packages/vim/patches/series (original)
+++ trunk/packages/vim/patches/series Sun Oct 29 16:18:52 2006
@@ -17,3 +17,4 @@
html.vim-syntax_spell.diff -p0
changelog.vim-ftplugin_buffer-split.diff -p0
zh_TW.po-swap_recovery_typo.diff -p0
+option.c-foldnestmax_check.diff -p0
More information about the pkg-vim-maintainers
mailing list