Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: correct # of args to patgetglobflags
- X-seq: zsh-workers 10566
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: correct # of args to patgetglobflags
- Date: Thu, 6 Apr 2000 22:23:15 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
10547 changed the prototype for patgetglobflags, but glob.c invoked
it with only one argument.
Index: Src/glob.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/glob.c,v
retrieving revision 1.2
diff -u -r1.2 glob.c
--- Src/glob.c 2000/04/05 19:29:15 1.2
+++ Src/glob.c 2000/04/07 02:19:27
@@ -698,6 +698,8 @@
static Complist
parsepat(char *str)
{
+ long assert;
+
patcompstart();
/*
* Check for initial globbing flags, so that they don't form
@@ -707,7 +709,7 @@
(isset(KSHGLOB) && *str == '@' && str[1] == Inpar &&
str[2] == Pound)) {
str += (*str == Inpar) ? 2 : 3;
- if (!patgetglobflags(&str))
+ if (!patgetglobflags(&str, &assert))
return NULL;
}
Messages sorted by:
Reverse Date,
Date,
Thread,
Author