Bug#1035679: [Pkg-zsh-devel] Bug#1035679: zsh: can misprocess continue in a loop

2023-05-28 Thread brian m. carlson
On 2023-05-08 at 00:58:24, Axel Beckert wrote: > brian m. carlson wrote: > > This breaks the Git testsuite under zsh's sh mode, > > Hmmm, actually, your example code shows "set" for me even without sh > emulation mode: > > → zsh continue.sh > set > → zsh --emulate sh continue.sh > set Co

Bug#1035679: [Pkg-zsh-devel] Bug#1035679: zsh: can misprocess continue in a loop

2023-05-07 Thread Axel Beckert
Control: tag -1 + fixed-upstream confirmed Control: found -1 5.0.7-5 Hi Brian, brian m. carlson wrote: > If a continue occurs in an && chain inside a loop, the continue is not > effective. For example, if you save the following as foo.sh: Thanks for the bug report. > This breaks the Git testsu

Bug#1035679: zsh: can misprocess continue in a loop

2023-05-07 Thread brian m. carlson
Package: zsh Version: 5.9-4+b1 Severity: normal Tags: patch If a continue occurs in an && chain inside a loop, the continue is not effective. For example, if you save the following as foo.sh: msg=unset for x in 1 2 3 4 5; do continue && msg=set && print Not executed print Not executed,