mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
parent
a99a914d41
commit
b5bb1445fb
2 changed files with 17 additions and 1 deletions
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…
Add table
Reference in a new issue