Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: local variable setting problem/bug



Zoltan Hidvegi (hzoli@xxxxxxxxxx) 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 <hniksic@xxxxxxx> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
`VI' - An editor used by those heretics that don't subscribe to
       the Emacs religion.



Messages sorted by: Reverse Date, Date, Thread, Author