Re: Bash 5.2 SHLVL change and autoconf test failures

2022-09-30 Thread Zack Weinberg
On Fri, Sep 30, 2022, at 9:24 AM, Chet Ramey wrote: > On 9/30/22 1:45 AM, Xi Ruoyao wrote: >> >> Hmm, it makes sense but I can't see how this affects autoconf test suite >> (I don't really understand M4). > > It might also be the result of a different change that optimizes out some > unnecessary f

Re: Bash 5.2 SHLVL change and autoconf test failures

2022-09-30 Thread Chet Ramey
On 9/30/22 1:45 AM, Xi Ruoyao wrote: [Resend because the previous one was rejected due to my bad SPF setting] On Thu, 2022-09-29 at 11:19 -0400, Chet Ramey wrote: On 9/28/22 11:25 PM, Xi Ruoyao wrote: (Sorry for cross posting, but the topic is related to both side) In Bash-5.2 there is a chan

Re: Bash 5.2 SHLVL change and autoconf test failures

2022-09-29 Thread Xi Ruoyao
[Resend because the previous one was rejected due to my bad SPF setting] On Thu, 2022-09-29 at 11:19 -0400, Chet Ramey wrote: > On 9/28/22 11:25 PM, Xi Ruoyao wrote: > > (Sorry for cross posting, but the topic is related to both side) > > > > In Bash-5.2 there is a change: > > > > "ff. Some fixe

Re: Bash 5.2 SHLVL change and autoconf test failures

2022-09-29 Thread Chet Ramey
On 9/28/22 11:25 PM, Xi Ruoyao wrote: (Sorry for cross posting, but the topic is related to both side) In Bash-5.2 there is a change: "ff. Some fixes to how subshells modify $SHLVL." The single change affects pipelines for which bash optimizes out a second fork, so it doesn't decrement $SHLVL