Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: pws-21: Re: globbing flags and EXTENDED_GLOB
- X-seq: zsh-workers 6610
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: pws-21: Re: globbing flags and EXTENDED_GLOB
- Date: Mon, 14 Jun 1999 09:24:47 +0200
- In-reply-to: "Clint Adams"'s message of "Sun, 13 Jun 1999 13:10:58 DFT." <19990613131058.A30550@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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 <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author