diff options
| author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-09-23 21:02:31 +0100 |
|---|---|---|
| committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2013-09-23 21:02:31 +0100 |
| commit | 60debf388f65849fc31b92982274cc984da74052 (patch) | |
| tree | 4812034f99a6508617ea96d45cea449c8f027430 /Src/pattern.c | |
| parent | 31754: _git: git rm: make git rm --cached work as intended (diff) | |
| download | zsh-60debf388f65849fc31b92982274cc984da74052.tar zsh-60debf388f65849fc31b92982274cc984da74052.tar.gz zsh-60debf388f65849fc31b92982274cc984da74052.tar.bz2 zsh-60debf388f65849fc31b92982274cc984da74052.tar.lz zsh-60debf388f65849fc31b92982274cc984da74052.tar.xz zsh-60debf388f65849fc31b92982274cc984da74052.tar.zst zsh-60debf388f65849fc31b92982274cc984da74052.zip | |
31764: Dewreakify havoc caused by pattern disables on glob qualifiers.
Don't use the zpc_specials array before it's defined, it's rude.
Diffstat (limited to 'Src/pattern.c')
| -rw-r--r-- | Src/pattern.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/pattern.c b/Src/pattern.c index b7897e75c..4f0166bfa 100644 --- a/Src/pattern.c +++ b/Src/pattern.c @@ -245,7 +245,8 @@ static const char *zpc_strings[ZPC_COUNT] = { * Corresponding array of pattern disables as set by the user * using "disable -p". */ -static char zpc_disables[ZPC_COUNT]; +/**/ +char zpc_disables[ZPC_COUNT]; /* * Stack of saved (compressed) zpc_disables for function scope. |
