From f4d87914242a217152dad34bc0c2ee6a92f1d48c Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 13 Feb 2013 21:05:58 +0100 Subject: [PATCH] Fixed parameters for pipe2() call. --- lib/base/process-unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/process-unix.cpp b/lib/base/process-unix.cpp index 25d314119..dda0f4866 100644 --- a/lib/base/process-unix.cpp +++ b/lib/base/process-unix.cpp @@ -31,7 +31,7 @@ void Process::CreateWorkers(void) int fds[2]; #ifdef HAVE_PIPE2 - if (pipe2(fds, O_NONBLOCK | O_CLOEXEC) < 0) + if (pipe2(fds, O_CLOEXEC) < 0) BOOST_THROW_EXCEPTION(PosixException("pipe2() failed.", errno)); #else /* HAVE_PIPE2 */ if (pipe(fds) < 0)