Hi,

> Yes. If you recurse indefinitely, you will eventually exceed your
> stack size resource limit and get the prescribed fatal signal.

Thanks for your answer, Chet. I understand how and why that happens in C programs. However, I wasn't expecting that from a higher-level, interpreted language : I was (naively) expecting the interpreter to run in bounded stack space. Sorry for the noise if that was the intended behavior.

If you are worried about this, set the FUNCNEST shell variable to an > 
appropriate value.
Nice, thanks :-)

Yours,

Judicaël Courant.
--
Judicaël Courant
Software Engineer, TrustInSoft
(+33) (0)6 52 42 88 23
https://trust-in-soft.com

Reply via email to