From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27132 invoked from network); 14 Jun 1999 07:53:51 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Jun 1999 07:53:51 -0000 Received: (qmail 28510 invoked by alias); 14 Jun 1999 07:53:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6610 Received: (qmail 28503 invoked from network); 14 Jun 1999 07:53:27 -0000 Message-Id: <9906140724.AA22624@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk Subject: PATCH: pws-21: Re: globbing flags and EXTENDED_GLOB In-Reply-To: "Clint Adams"'s message of "Sun, 13 Jun 1999 13:10:58 DFT." <19990613131058.A30550@dman.com> Date: Mon, 14 Jun 1999 09:24:47 +0200 From: Peter Stephenson Clint Adams wrote: > Globbing flags work regardless of whether EXTENDED_GLOB is set. > Is this an error in zsh behavior or an error in documentation? That's a bug. Thanks. `#' shouldn't be an active metacharacter at all without extendedglob. --- Src/glob.c.eg Mon Jun 14 09:17:14 1999 +++ Src/glob.c Mon Jun 14 09:22:10 1999 @@ -744,7 +744,7 @@ pptr++; } - if (*pptr == Inpar && pptr[1] == Pound) { + if (*pptr == Inpar && pptr[1] == Pound && isset(EXTENDEDGLOB)) { /* Found some globbing flags */ char *eptr = pptr; if (kshfunc != KF_NONE) -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy