parent
a99a914d41
commit
b5bb1445fb
16
srcpkgs/dash/patches/noblock-sigchld.diff
Normal file
16
srcpkgs/dash/patches/noblock-sigchld.diff
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Subject: Re: Regression in dash 0.5.10 related to subshells
|
||||||
|
Message-ID: <20180505160243.t5rujv3eifiust5a@gondor.apana.org.au>
|
||||||
|
|
||||||
|
--- src/jobs.c
|
||||||
|
+++ src/jobs.c
|
||||||
|
@@ -975,8 +975,8 @@ waitforjob(struct job *jp)
|
||||||
|
int st;
|
||||||
|
|
||||||
|
TRACE(("waitforjob(%%%d) called\n", jp ? jobno(jp) : 0));
|
||||||
|
- while ((jp && jp->state == JOBRUNNING) || gotsigchld)
|
||||||
|
- dowait(DOWAIT_BLOCK, jp);
|
||||||
|
+ while (jp ? jp->state == JOBRUNNING : gotsigchld)
|
||||||
|
+ dowait(jp ? DOWAIT_BLOCK : DOWAIT_NORMAL, jp);
|
||||||
|
if (!jp)
|
||||||
|
return exitstatus;
|
||||||
|
st = getstatus(jp);
|
||||||
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'dash'
|
# Template file for 'dash'
|
||||||
pkgname=dash
|
pkgname=dash
|
||||||
version=0.5.10
|
version=0.5.10
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="bison"
|
hostmakedepends="bison"
|
||||||
register_shell="/bin/sh /bin/dash"
|
register_shell="/bin/sh /bin/dash"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user