From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8839 invoked from network); 20 Jun 2001 06:52:01 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 20 Jun 2001 06:52:01 -0000 Received: (qmail 1983 invoked by alias); 20 Jun 2001 06:51:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14986 Received: (qmail 1971 invoked from network); 20 Jun 2001 06:51:09 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer goliath.siemens.de) From: "Andrej Borsenkow" To: "Bart Schaefer" , "Clint Adams" , Cc: "Michal Politowski" , <101523-forwarded@bugs.debian.org> Subject: RE: Bug#101523: zsh segmentation fault Date: Wed, 20 Jun 2001 10:51:11 +0400 Message-ID: <000201c0f955$63fa7a70$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <1010620040105.ZM1105@candle.brasslantern.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 > > 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. Have