welcome waitid(2) bye bye hack

This commit is contained in:
rsadowski 2022-11-14 05:13:03 +00:00
parent 8e156b75a8
commit 1b5768b82b
2 changed files with 1 additions and 17 deletions

View File

@ -10,7 +10,7 @@ PKGSPEC-main = qt6-qtbase-${QT6_PKGSPEC}
PKGNAME-mysql = qt6-mysql-${VERSION}
PKGNAME-global = qt6-global-${VERSION}
PKGNAME-psql = qt6-postgresql-${VERSION}
REVISION-main = 2
REVISION-main = 3
REVISION-global = 1
REVISION-mysql = 1
REVISION-psql = 1

View File

@ -1,16 +0,0 @@
Index: src/3rdparty/forkfd/forkfd.c
--- src/3rdparty/forkfd/forkfd.c.orig
+++ src/3rdparty/forkfd/forkfd.c
@@ -245,9 +245,9 @@ __attribute__((unused))
#endif
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;