Re: Bug 1254 gets worse: "Job" definition is wrong

2019-08-08 Thread Stephane Chazelas
2019-08-08 17:30:28 +0100, Geoff Clare: > Stephane Chazelas wrote, on 08 Aug 2019: > > > > 2019-08-08 15:39:18 +0100, Geoff Clare: > > [] > > > I have repeated it with /bin/sleep instead of sleep. It still treated the > > > whole AND-OR list as one job: > > > > > > $ { /bin/sleep 3 | /bin/sl

Re: Bug 1254 gets worse: "Job" definition is wrong

2019-08-08 Thread Geoff Clare
Stephane Chazelas wrote, on 08 Aug 2019: > > 2019-08-08 15:39:18 +0100, Geoff Clare: > [] > > I have repeated it with /bin/sleep instead of sleep. It still treated the > > whole AND-OR list as one job: > > > > $ { /bin/sleep 3 | /bin/sleep 4; /bin/sleep 1 | /bin/sleep 2; } && { > > /bin/sle

Re: Bug 1254 gets worse: "Job" definition is wrong

2019-08-08 Thread Stephane Chazelas
2019-08-08 15:39:18 +0100, Geoff Clare: [] > I have repeated it with /bin/sleep instead of sleep. It still treated the > whole AND-OR list as one job: > > $ { /bin/sleep 3 | /bin/sleep 4; /bin/sleep 1 | /bin/sleep 2; } && { > /bin/sleep 5; /bin/sleep 6; } > ^Z[1] + Stopped {

Re: Bug 1254 gets worse: "Job" definition is wrong

2019-08-08 Thread Geoff Clare
Stephane Chazelas wrote, on 08 Aug 2019: > > 2019-08-08 11:43:53 +0100, Geoff Clare: > [...] > > I tested a complex (although not as complex as yours) AND-OR list in > > ksh93 and it treated the whole thing as one job: > > > > $ { sleep 3 | sleep 4; sleep 1 | sleep 2; } && { sleep 5; sleep 6; } >

Re: Bug 1254 gets worse: "Job" definition is wrong

2019-08-08 Thread Stephane Chazelas
2019-08-08 11:43:53 +0100, Geoff Clare: [...] > I tested a complex (although not as complex as yours) AND-OR list in > ksh93 and it treated the whole thing as one job: > > $ { sleep 3 | sleep 4; sleep 1 | sleep 2; } && { sleep 5; sleep 6; } > ^Z[1] + Stopped { sleep 3 | sleep 4; s

Re: Bug 1254 gets worse: "Job" definition is wrong

2019-08-08 Thread Geoff Clare
Stephane Chazelas wrote, on 08 Aug 2019: > > 2019-08-08 10:21:14 +0100, Geoff Clare: > [...] > > A bigger issue with bg, in shells that treat each pipeline in a > > foreground AND-OR list as a separate job, is that if one of those jobs > > is stopped and then placed in the background, what happens

Re: Bug 1254 gets worse: "Job" definition is wrong

2019-08-08 Thread Stephane Chazelas
2019-08-08 10:21:14 +0100, Geoff Clare: [...] > A bigger issue with bg, in shells that treat each pipeline in a > foreground AND-OR list as a separate job, is that if one of those jobs > is stopped and then placed in the background, what happens to the > remainder of the AND-OR list? For example:

Re: Bug 1254 gets worse: "Job" definition is wrong

2019-08-08 Thread Joerg Schilling
Geoff Clare wrote: > > sh > > $ set -m > > $ sleep 3 && sleep 4 > > ^Z > > [1] + Gestoppt (Benutzer) sh > > > > Which is the Bourne Shell problem I mentioned: the whole shell stops. > > > > BTW: the underlying shell that reported the stopped shell is a bosh. > > This happened because yo

Re: Bug 1254 gets worse: "Job" definition is wrong

2019-08-08 Thread Geoff Clare
Robert Elz wrote, on 08 Aug 2019: > > | Who says those operations aren't supposed to change the results? > > Who says that they are, or are permitted to? Paragraph 2 of bg description: Using bg to place a job into the background shall cause its process ID to become "known in the curr

[1003.1(2008)/Issue 7 0000374]: malloc(0) and realloc(p,0) must not change errno on success

2019-08-08 Thread Austin Group Bug Tracker
A NOTE has been added to this issue. == http://austingroupbugs.net/view.php?id=374 == Reported By:eblake Assigned To:ajosey =