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. --- Doc/Zsh/compsys.yo | 1 + 1 file changed, 1 insertion(+) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 825c441e3..be78b0aa2 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -3906,6 +3906,7 @@ Example: example(_example_caching_policy () { # rebuild if cache is more than a week old + local -a oldp oldp=( "$1"(Nmw+1) ) (( $#oldp )) }) -- cgit 1.4.1