[icinga-checkins] icinga.org: icinga2/master: Bugfix: the main task fd must not be non-blocking.
git at icinga.org
git at icinga.org
Wed Feb 13 15:41:35 CET 2013
Module: icinga2
Branch: master
Commit: cf094fe4b3527a45683705e353600a0a5a2d96e6
URL: https://git.icinga.org/?p=icinga2.git;a=commit;h=cf094fe4b3527a45683705e353600a0a5a2d96e6
Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date: Wed Feb 13 15:41:14 2013 +0100
Bugfix: the main task fd must not be non-blocking.
---
lib/base/process-unix.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/lib/base/process-unix.cpp b/lib/base/process-unix.cpp
index 88c5602..25d3141 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 */
More information about the icinga-checkins
mailing list