From cf094fe4b3527a45683705e353600a0a5a2d96e6 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 13 Feb 2013 15:41:14 +0100 Subject: [PATCH] Bugfix: the main task fd must not be non-blocking. --- lib/base/process-unix.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/base/process-unix.cpp b/lib/base/process-unix.cpp index 88c5602da..25d314119 100644 --- a/lib/base/process-unix.cpp +++ b/lib/base/process-unix.cpp @@ -37,10 +37,9 @@ void Process::CreateWorkers(void) if (pipe(fds) < 0) BOOST_THROW_EXCEPTION(PosixException("pipe() failed.", errno)); - /* Don't bother setting fds[1] to non-blocking/clo-exec as we'll only + /* Don't bother setting fds[1] to clo-exec as we'll only * use it in the following dup() call. */ - Utility::SetNonBlocking(fds[1]); Utility::SetCloExec(fds[1]); #endif /* HAVE_PIPE2 */