QProcess: re-enable pdfork() on FreeBSD
The forkfd_pidfd is a Linux feature, but we ended up disabling the equivalent functionality on FreeBSD. Pick-to: 6.3 6.4 Change-Id: I6d3880c7d99d4fc494c8fffd16fabfbc38865f94 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
44927b801a
commit
5e60b2ab16
@ -455,7 +455,7 @@ void QProcessPrivate::startProcess()
|
||||
int ffdflags = FFD_CLOEXEC;
|
||||
|
||||
// QTBUG-86285
|
||||
#if !QT_CONFIG(forkfd_pidfd)
|
||||
#if defined(Q_OS_LINUX) && !QT_CONFIG(forkfd_pidfd)
|
||||
ffdflags |= FFD_USE_FORK;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user