[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-84-g4c97896
Ville Skyttä
ville.skytta at iki.fi
Wed Apr 20 11:42:51 UTC 2011
The following commit has been merged in the master branch:
commit 007f7f5b010755828d2b8ab77d07ae94f49c8378
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Wed Apr 20 14:33:51 2011 +0300
Don't leak local $args.
diff --git a/CHANGES b/CHANGES
index d106296..298357b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -13,7 +13,7 @@ bash-completion (2.x)
* Try both full path and basename completions for sudo etc (Alioth: #313065).
* Don't install completions for init.d backup files.
* Support tildes when recursively sourcing muttrc files (Debian: #615134).
- * Fix local variable leaks from bluez completions.
+ * Fix local variable leaks from various completions.
* Add _init_completion() for common completion initialization and generic
redirection handling.
diff --git a/completions/cryptsetup b/completions/cryptsetup
index 8723d31..b2fafcb 100644
--- a/completions/cryptsetup
+++ b/completions/cryptsetup
@@ -42,6 +42,7 @@ _cryptsetup()
luksDump luksHeaderBackup luksHeaderRestore' -- "$cur" ) )
fi
else
+ local args
_count_args
case $arg in
create)
--
bash-completion
More information about the Bash-completion-commits
mailing list