Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	autolearn_force=no version=3.4.0
X-Biglobe-Sender: <takimoto-j@kba.biglobe.ne.jp>
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: [BUG] quoting within bracket patterns has no effect
From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
In-Reply-To: <20160118172434.2fb7d5b9@pwslap01u.europe.root.pri>
Date: Wed, 20 Jan 2016 00:57:30 +0900
Content-Transfer-Encoding: 7bit
Message-Id: <C61F4B81-0BCF-45CD-9DE3-202ED2D268FF@kba.biglobe.ne.jp>
References: <569C68AB.2010806@inlv.org> <20160118172434.2fb7d5b9@pwslap01u.europe.root.pri>
To: zsh-workers@zsh.org
X-Mailer: Apple Mail (2.1878.6)
X-Biglobe-Spnum: 51570
X-Seq: zsh-workers 37692

The patch causes the following error:

% /usr/local/bin/zsh -f
zsh% autoload -U compinit
zsh% compinit
compaudit:151: unknown file attribute: -

It seems the error is actually from line 153 of compaudit:

_i_wdirs=( $_i_wdirs ${^fpath}.zwc^([^_]*|*~)(N-^${_i_owners}) )

Simpler example is

zsh% echo a[b](-/)
zsh: unknown file attribute: -

In glob.c, switch statement from line 1298,
*s is not '-' but Dash, and not handled by
case '-':
at line 1316.

