Package: zsh
Version: 4.3.6-7
Severity: minor

*** Please type your report below this line ***
some _*_caching_policy (_perl_modules_caching_policy, _apt_caching_policy,
_debs_caching_policy, etc.) set oldp.
I think it should be local.

There is the same problem in a man page of zshcompsys,

       _cache_invalid cache_identifier
              This  function returns status zero if the completions cache cor-
              responding to the given cache identifier needs  rebuilding.   It
              determines  this  by  looking  up the cache-policy style for the
              current context.  This should provide a function name  which  is
              run  with  the  full path to the relevant cache file as the only
              argument.

              Example:

                     _example_caching_policy () {
                         # rebuild if cache is more than a week old
                         oldp=( "$1"(Nmw+1) )
                         (( $#oldp ))
                     }

It should be include a following line:
                         local oldp

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zsh depends on:
ii  libc6                     2.7-15         GNU C Library: Shared libraries
ii  libcap2                   2.11-2         support for getting/setting POSIX.
ii  libncursesw5              5.6+20081025-1 shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libpcre3                      7.8-2      Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
pn  zsh-doc                       <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to