Re: funcnest and recursion

2014-05-23 Thread Ondrej Oprala
On 05/23/2014 05:05 PM, Dan Douglas wrote: On Friday, May 23, 2014 10:48:11 AM Chet Ramey wrote: On 5/23/14, 10:17 AM, Ondrej Oprala wrote: 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 ex

Re: funcnest and recursion

2014-05-23 Thread Dan Douglas
On Friday, May 23, 2014 10:48:11 AM Chet Ramey wrote: > On 5/23/14, 10:17 AM, Ondrej Oprala wrote: > > 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 f

Re: funcnest and recursion

2014-05-23 Thread Ondrej Oprala
On 05/23/2014 04:48 PM, Chet Ramey wrote: On 5/23/14, 10:17 AM, Ondrej Oprala wrote: 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 an

Re: funcnest and recursion

2014-05-23 Thread Chet Ramey
On 5/23/14, 10:17 AM, Ondrej Oprala wrote: > 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 exe

Re: funcnest and recursion

2014-05-23 Thread Dan Douglas
On Friday, May 23, 2014 04:17:12 PM Ondrej Oprala wrote: > 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. They come up here at least a few times a year. E.g. https://lists.gnu.org/archive/html/bug-bash

funcnest and recursion

2014-05-23 Thread Ondrej Oprala
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