[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
funcnest and recursion
From: |
Ondrej Oprala |
Subject: |
funcnest and recursion |
Date: |
Fri, 23 May 2014 16:17:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
Hi, there've recently been a few bug reports against bash on RH BZ,
saying that bash can't handle infinite recursion the way zsh or ksh can.
Looking at execute_cmd.c, there are the funcnest{,_max} variables
and a piece of code using them in execute_function().
Will funcnest_max be set to non-0 in upstream code in the future?
Or is it just there for the downstream maintainers to set it if they
see it fit?
Thanks,
Ondrej
- funcnest and recursion,
Ondrej Oprala <=