QProcess: re-enable pdfork() on FreeBSD
The forkfd_pidfd is a Linux feature, but we ended up disabling the equivalent functionality on FreeBSD. Change-Id: I6d3880c7d99d4fc494c8fffd16fabfbc38865f94 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 5e60b2ab160bc5ff3bc41bb8991753785d2fc285) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
6e55307def
commit
df86a0effc
@ -455,7 +455,7 @@ void QProcessPrivate::startProcess()
|
|||||||
int ffdflags = FFD_CLOEXEC;
|
int ffdflags = FFD_CLOEXEC;
|
||||||
|
|
||||||
// QTBUG-86285
|
// QTBUG-86285
|
||||||
#if !QT_CONFIG(forkfd_pidfd)
|
#if defined(Q_OS_LINUX) && !QT_CONFIG(forkfd_pidfd)
|
||||||
ffdflags |= FFD_USE_FORK;
|
ffdflags |= FFD_USE_FORK;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user