r1271 - in /trunk/packages/vim-scripts/debian: changelog patches/00list patches/lbdbq-query.dpatch

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Sat Jul 5 02:43:22 UTC 2008


Author: jamessan
Date: Sat Jul  5 02:43:21 2008
New Revision: 1271

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1271
Log:
lbdbq-query.dpatch: Ensure there are enough fields to build the results
list.  (Closes: #483898)

Added:
    trunk/packages/vim-scripts/debian/patches/lbdbq-query.dpatch   (with props)
Modified:
    trunk/packages/vim-scripts/debian/changelog
    trunk/packages/vim-scripts/debian/patches/00list

Modified: trunk/packages/vim-scripts/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/changelog?rev=1271&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/changelog (original)
+++ trunk/packages/vim-scripts/debian/changelog Sat Jul  5 02:43:21 2008
@@ -10,6 +10,8 @@
   * Added patches:
     - closetag-sanity.dpatch: Ensure b:unaryTagsStack is defined when calling
       GetCloseTag.  (Closes: #489239)
+    - lbdbq-query.dpatch: Ensure there are enough fields to build the results
+      list.  (Closes: #483898)
 
  -- martin f. krafft <madduck at debian.org>  Thu, 19 Jun 2008 17:24:13 +0200
 

Modified: trunk/packages/vim-scripts/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/00list?rev=1271&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/00list (original)
+++ trunk/packages/vim-scripts/debian/patches/00list Sat Jul  5 02:43:21 2008
@@ -16,3 +16,4 @@
 detectindent_fix
 lbdbq-inputlist
 closetag-sanity
+lbdbq-query

Added: trunk/packages/vim-scripts/debian/patches/lbdbq-query.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/lbdbq-query.dpatch?rev=1271&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/lbdbq-query.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/lbdbq-query.dpatch Sat Jul  5 02:43:21 2008
@@ -1,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## lbdbq-query.dpatch by James Vega <jamessan at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Ensure there are enough fields to build the results list.
+
+ at DPATCH@
+diff -urNad vim-scripts~/plugin/lbdbq.vim vim-scripts/plugin/lbdbq.vim
+--- vim-scripts~/plugin/lbdbq.vim	2008-07-04 22:17:16.000000000 -0400
++++ vim-scripts/plugin/lbdbq.vim	2008-07-04 22:18:52.000000000 -0400
+@@ -18,7 +18,9 @@
+   let results = []
+   for line in split(output, "\n")[1:] " skip first line (lbdbq summary)
+     let fields = split(line, "\t")
+-    let results += [ [fields[1], fields[0]] ]
++    if len(fields) >= 2
++      let results += [ [fields[1], fields[0]] ]
++    endif
+   endfor
+   return results
+ endfunction

Propchange: trunk/packages/vim-scripts/debian/patches/lbdbq-query.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the pkg-vim-maintainers mailing list