From 6dbf2f2f4a97e2831094a73c662484ce990e7e41 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 2 Nov 2008 14:12:29 +0000 Subject: 25988: declare temporary cache array as local, thanks to problem noticed by Kazuhiro NISHIYAMA. --- Completion/Unix/Type/_perl_modules | 1 + 1 file changed, 1 insertion(+) (limited to 'Completion/Unix/Type/_perl_modules') diff --git a/Completion/Unix/Type/_perl_modules b/Completion/Unix/Type/_perl_modules index 00629335b..26cab0c23 100644 --- a/Completion/Unix/Type/_perl_modules +++ b/Completion/Unix/Type/_perl_modules @@ -132,6 +132,7 @@ _perl_modules () { _perl_modules_caching_policy () { local _perllocals + local -a oldp # rebuild if cache is more than a week old oldp=( "$1"(mw+1) ) -- cgit 1.4.1