From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Zsh 3.1.6 - ${~foo} expansion bug
Date: Mon, 14 Feb 2000 10:13:44 +0100 (MET) [thread overview]
Message-ID: <200002140913.KAA03739@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Fri, 11 Feb 2000 19:27:32 +0000
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@informatik.hu-berlin.de
next reply other threads:[~2000-02-14 9:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-14 9:13 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-02-08 9:25 Sven Wischnowsky
2000-02-11 19:27 ` Peter Stephenson
2000-02-07 20:49 Jukka Laurila
2000-02-07 21:40 ` Bart Schaefer
2000-02-07 22:29 ` Jukka Laurila
2000-02-07 23:16 ` Alexandre Duret-Lutz
2000-02-08 5:19 ` Bart Schaefer
2000-02-07 23:25 ` Thomas Köhler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200002140913.KAA03739@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).