help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash 5.2 SHLVL change and autoconf test failures


From: Xi Ruoyao
Subject: Re: Bash 5.2 SHLVL change and autoconf test failures
Date: Fri, 30 Sep 2022 13:45:17 +0800
User-agent: Evolution 3.46.0

[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 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 twice. It comes from this 2020
> report:
> 
> https://lists.gnu.org/archive/html/help-bash/2020-10/msg00012.html
> 
> (the ssh aspect of this report is a red herring).

Hmm, it makes sense but I can't see how this affects autoconf test suite
(I don't really understand M4).

Could autoconf developers make a confirm that the test failures caused
by SHLVL difference are not harmful, or provide a fix?


-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University



reply via email to

[Prev in Thread] Current Thread [Next in Thread]