mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
prefix select() call in QProcessManager::run()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
38dc4bd1e8
commit
f268712c96
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ void QProcessManager::run()
|
||||||
// block forever, or until activity is detected on the dead child
|
// block forever, or until activity is detected on the dead child
|
||||||
// pipe. the only other peers are the SIGCHLD signal handler, and the
|
// pipe. the only other peers are the SIGCHLD signal handler, and the
|
||||||
// QProcessManager destructor.
|
// 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 (nselect < 0) {
|
||||||
if (errno == EINTR)
|
if (errno == EINTR)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue