Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh 3.1.6 - ${~foo} expansion bug
- X-seq: zsh-workers 9705
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Zsh 3.1.6 - ${~foo} expansion bug
- Date: Mon, 14 Feb 2000 10:13:44 +0100 (MET)
- In-reply-to: Peter Stephenson's message of Fri, 11 Feb 2000 19:27:32 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> Sven Wischnowsky wrote:
> > The initialisation to `1' for esglob in the patch below shouldn't
> > really be necessary, because both es* should be set up when one of the
> > functions calling execsubst() will be called.
>
> This sort of thing really needs more comments, particular at the point the
> variables are declared.
Ok.
Bye
Sven
diff -ru ../z.old/Src/exec.c Src/exec.c
--- ../z.old/Src/exec.c Mon Feb 14 10:03:06 2000
+++ Src/exec.c Mon Feb 14 10:12:58 2000
@@ -1505,6 +1505,11 @@
}
}
+/* These describe the type of espansions that need to be done on the words
+ * used in the thing we are about to execute. They are set in execcmd() and
+ * used in execsubst() which might be called from one of the functions
+ * called from execcmd() (like execfor() and so on). */
+
static int esprefork, esglob = 1;
/**/
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author