aboutsummaryrefslogtreecommitdiff
path: root/paludis/command_output_manager.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-10 10:52:22 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-10 10:52:22 +0000
commit52825b5bd9d658676b8e876da720469398877352 (patch)
tree36b688e334d53462194b99349c5c051077326250 /paludis/command_output_manager.cc
parent77c2c5b6b7686bf8b5093dc12701bcb39019a10a (diff)
downloadpaludis-52825b5bd9d658676b8e876da720469398877352.tar.gz
paludis-52825b5bd9d658676b8e876da720469398877352.tar.xz
Do our own buffering for SafeOFStream
Diffstat (limited to 'paludis/command_output_manager.cc')
-rw-r--r--paludis/command_output_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/command_output_manager.cc b/paludis/command_output_manager.cc
index 19a0c7756..34a14b90a 100644
--- a/paludis/command_output_manager.cc
+++ b/paludis/command_output_manager.cc
@@ -99,7 +99,7 @@ CommandOutputManager::CommandOutputManager(const std::string & s, const std::str
if (0 != ::close(_imp->stdout_pipe->read_fd()))
throw CommandOutputManagerError("close stdout_pipe read_fd failed");
_imp->stdout_pipe->clear_read_fd();
- _imp->stdout_stream.reset(new SafeOFStream(_imp->stdout_pipe->write_fd()));
+ _imp->stdout_stream.reset(new SafeOFStream(_imp->stdout_pipe->write_fd(), false));
_imp->stderr_pipe.reset(new Pipe(true));
_imp->stderr_process.reset(new Process(ProcessCommand(_imp->stderr_command)));
@@ -109,7 +109,7 @@ CommandOutputManager::CommandOutputManager(const std::string & s, const std::str
if (0 != ::close(_imp->stderr_pipe->read_fd()))
throw CommandOutputManagerError("close stderr_pipe read_fd failed");
_imp->stderr_pipe->clear_read_fd();
- _imp->stderr_stream.reset(new SafeOFStream(_imp->stderr_pipe->write_fd()));
+ _imp->stderr_stream.reset(new SafeOFStream(_imp->stderr_pipe->write_fd(), false));
}
CommandOutputManager::~CommandOutputManager()