From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.6/8.7.3) with ESMTP id NAA09621 for ; Wed, 20 Nov 1996 13:24:25 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id VAA20007; Tue, 19 Nov 1996 21:02:17 -0500 (EST) Resent-Date: Tue, 19 Nov 1996 21:02:17 -0500 (EST) Sender: hniksic@public.srce.hr To: Zoltan Hidvegi Cc: rft@cg.tuwien.ac.at, zsh-workers@math.gatech.edu Subject: Re: local variable setting problem/bug References: <199611200141.CAA00871@hzoli.ppp.cs.elte.hu> X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/ X-Attribution: Hrv X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y" From: Hrvoje Niksic Date: 20 Nov 1996 03:02:02 +0100 In-Reply-To: Zoltan Hidvegi's message of Wed, 20 Nov 1996 02:41:57 +0100 (MET) Message-ID: X-Mailer: Red Gnus v0.64/XEmacs 19.14 Resent-Message-ID: <"FVNhw1.0.Wu4.eQcao"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2436 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Zoltan Hidvegi (hzoli@cs.elte.hu) wrote: > That's not surprising since local a=() in fact defined a function local and > a function a= which executed local b. So the function called local > recursively calls itself and there is not exit from this recursion. > You Couldn't zsh check its recursion depth? It shouldn't be too hard to implement, and would be a win in these cases. -- Hrvoje Niksic | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- `VI' - An editor used by those heretics that don't subscribe to the Emacs religion.