Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Bug#101523: zsh segmentation fault
- X-seq: zsh-workers 14987
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxx>
- Subject: RE: Bug#101523: zsh segmentation fault
- Date: Wed, 20 Jun 2001 11:59:54 +0400
- Importance: Normal
- In-reply-to: <000201c0f955$63fa7a70$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> >
> > I will point out that there's a rather nasty bug in shoop.sh on line 61:
> >
> > local orgargs="$@"
> >
> > This will almost certainly not do what is wanted; it'll set
> orgargs to be
> > $1 and will make local variables whose names are the rest of the
> > arguments.
> > Then later,
> >
> > set -- $orgargs
> >
> > will also not produce the desired effect.
> >
>
> This is related to export foo=$(cmd) problem we have discussed. Obviously,
> other shells treat {export|local|typeset} foo=bar w.r.t. word splitting
> exactly the same as foo=bar, i.e. they do not split in assignments here.
>
> Did not we have some patch for it, at least in HEAD? Looks, like it should
> be in 4.0.
14858
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author