fileset

git mirror of https://ccx.te2000.cz/bzr/fileset
git clone https://ccx.te2000.cz/git/fileset
Log | Files | Refs | README

commit 875e03853973263670fdd097bd312c1b49d9abb6
parent aa4e48ec17439d4077334c1de261d189a9b5f34a
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Fri, 15 Jan 2021 18:07:00 +0100

Create global fileset_stat_* associative arrays explicitly
Diffstat:
Mzsh-functions/confz_fileset_init | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/zsh-functions/confz_fileset_init b/zsh-functions/confz_fileset_init @@ -46,6 +46,7 @@ fileset_stat() { local id ret ftype fperm id=${fileset_stat_cache[$1]:-missing} if [[ $id == missing ]]; then + typeset -gA fileset_stat_$fileset_stat_next_id zstat -L -H fileset_stat_$fileset_stat_next_id $1 >/dev/null ret=$? if (($ret == 0)); then