[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 6966cad8cf1eefc710aed20ab1b182d879613b3e

Freddy Vulto (none) freddy at rebase.
Fri Jul 24 07:09:09 UTC 2009


The following commit has been merged in the master branch:
commit 6966cad8cf1eefc710aed20ab1b182d879613b3e
Author: Freddy Vulto <freddy at rebase.(none)>
Date:   Fri Jul 24 09:07:32 2009 +0200

    Fix leaking $i from `man' completion

diff --git a/CHANGES b/CHANGES
index fc6faea..af99031 100644
--- a/CHANGES
+++ b/CHANGES
@@ -139,6 +139,7 @@ bash-completion (1.x)
   [ Freddy Vulto ]
   * Patched _known_hosts() to support multiple {Global,User}KnownHosts in SSH
     config files, thanks to Thomas Nilsson (Alioth: #311595) (Debian: #524190)
+  * Fix leaking $i from info and man completions.
 
  -- David Paleino <d.paleino at gmail.com>  Thu, 18 Jun 2009 13:12:36 +0200
 
diff --git a/contrib/man b/contrib/man
index 1529d64..1e409d3 100644
--- a/contrib/man
+++ b/contrib/man
@@ -8,7 +8,7 @@
   -o $UNAME = OpenBSD ] &&
 _man()
 {
-	local cur prev sect manpath manext mansect uname
+	local cur i prev sect manpath manext mansect uname
 
 	manext="@([0-9lnp]|[0-9][px]|man|3pm)?(.@(gz|bz2|lzma))"
 	mansect="@([0-9lnp]|[0-9][px]|3pm)"

-- 
bash-completion



More information about the Bash-completion-commits mailing list