From f268712c9698716aa6c23d2c3c64b5bb7f061781 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 3 Jun 2021 15:56:55 +0000 Subject: [PATCH] prefix select() call in QProcessManager::run() Signed-off-by: Ivailo Monev --- src/core/io/qprocess_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/io/qprocess_unix.cpp b/src/core/io/qprocess_unix.cpp index b518d96e1..afaad32c3 100644 --- a/src/core/io/qprocess_unix.cpp +++ b/src/core/io/qprocess_unix.cpp @@ -223,7 +223,7 @@ void QProcessManager::run() // block forever, or until activity is detected on the dead child // pipe. the only other peers are the SIGCHLD signal handler, and the // QProcessManager destructor. - int nselect = select(qt_qprocess_deadChild_pipe[0] + 1, &readset, 0, 0, 0); + int nselect = ::select(qt_qprocess_deadChild_pipe[0] + 1, &readset, 0, 0, 0); if (nselect < 0) { if (errno == EINTR) continue;