Bash 5.2 SHLVL change and autoconf test failures

2022-09-29 Thread Xi Ruoyao
(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." This causes 134 test failures in autoconf. They look like: --- /dev/null 2022-09-29 10:39:11.882612713 +0800 +++ /home/xry111/sources/lfs/autoconf

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

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