Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: local variable setting problem/bug
- X-seq: zsh-workers 2441
- From: Hrvoje Niksic <hniksic@xxxxxxx>
- To: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- Subject: Re: local variable setting problem/bug
- Date: 20 Nov 1996 20:32:46 +0100
- Cc: rft@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: Zoltan Hidvegi's message of Wed, 20 Nov 1996 16:33:36 +0100 (MET)
- References: <199611201533.QAA04141@xxxxxxxxxxxxxxxxx>
- Sender: hniksic@xxxxxxxxxxxxxx
Zoltan Hidvegi (hzoli@xxxxxxxxxx) wrote:
> Hrvoje Niksic wrote:
> > Couldn't zsh check its recursion depth? It shouldn't be too hard to
> > implement, and would be a win in these cases.
>
> That was already discussed some time ago. The problem is that one may want
> to use recursive functions on purpose and an artificial limit is
> undesirable here.
Of course. But the artificial limit can be set quite high, so that it
server _only_ to prevent core dumps. E.g. XEmacs has max-specpdl-size
set to 3000. I suppose it could be easy to add an ulimit-like
mechanism to control this value.
What do you think of that?
--
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