[Pkg-zsh-devel] Bug#479841: Bug#479841: Inconsistent return code of subshell when immediately assigning local variables

Daniel Shahaf danielsh at apache.org
Sun Dec 4 05:36:13 UTC 2016


Axel Beckert wrote on Sun, Dec 04, 2016 at 04:11:38 +0100:
> Daniel Shahaf wrote on 30th of January 2016:
> > I asked upstream and the conclusion was, they won't change this
> > behaviour.  However, the behaviour will be pointed out in the manual in
> > 5.3 and newer.
> 
> I haven't found an according commit upstream, but also wasn't really
> sure for what I should be looking. Can you point out that commit?

Sure:

    commit 3b69b121def33bb02d01ba23a7148129ab2aed46
    Author: Daniel Shahaf <d.s at daniel.shahaf.name>
    Date:   Fri Jan 29 09:18:34 2016 +0000
    
        37831: typeset: Document exit status difference from parameter assignment statements

That patch is buried in the 37609 thread, which is cross-referenced from
this bug via the 'forwarded' metadatum.

Cheers,

Daniel



More information about the Pkg-zsh-devel mailing list