welcome waitid(2) bye bye hack
This commit is contained in:
parent
c1d7f4ba99
commit
3a5c1e9043
@ -12,7 +12,7 @@ PKGNAME-global = qt5-global-${VERSION}
|
||||
PKGNAME-psql = qt5-postgresql-${VERSION}
|
||||
PKGNAME-tds = qt5-tds-${VERSION}
|
||||
|
||||
REVISION-main = 1
|
||||
REVISION-main = 2
|
||||
|
||||
PKG_ARCH-global = *
|
||||
PKG_ARCH-examples = *
|
||||
|
@ -1,18 +0,0 @@
|
||||
XXX Unbreak Build for now
|
||||
|
||||
Index: src/3rdparty/forkfd/forkfd.c
|
||||
--- src/3rdparty/forkfd/forkfd.c.orig
|
||||
+++ src/3rdparty/forkfd/forkfd.c
|
||||
@@ -242,9 +242,9 @@ static void convertStatusToForkfdInfo(int status, stru
|
||||
|
||||
static int convertForkfdWaitFlagsToWaitFlags(int ffdoptions)
|
||||
{
|
||||
- int woptions = WEXITED;
|
||||
- if (ffdoptions & FFDW_NOWAIT)
|
||||
- woptions |= WNOWAIT;
|
||||
+ int woptions = WNOHANG;
|
||||
+ //if (ffdoptions & FFDW_NOWAIT)
|
||||
+ // woptions |= WNOWAIT;
|
||||
if (ffdoptions & FFDW_NOHANG)
|
||||
woptions |= WNOHANG;
|
||||
return woptions;
|
Loading…
Reference in New Issue
Block a user