aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/process.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/util/process.cc
parent77c2c5b6b7686bf8b5093dc12701bcb39019a10a (diff)
downloadpaludis-52825b5bd9d658676b8e876da720469398877352.tar.gz
paludis-52825b5bd9d658676b8e876da720469398877352.tar.xz
Do our own buffering for SafeOFStream
Diffstat (limited to 'paludis/util/process.cc')
-rw-r--r--paludis/util/process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/util/process.cc b/paludis/util/process.cc
index 8778d4725..63366ef24 100644
--- a/paludis/util/process.cc
+++ b/paludis/util/process.cc
@@ -531,7 +531,7 @@ Process::run()
thread->prefix_stdout = _imp->prefix_stdout;
if (! _imp->capture_stdout)
{
- thread->own_capture_stdout.reset(new SafeOFStream(STDOUT_FILENO));
+ thread->own_capture_stdout.reset(new SafeOFStream(STDOUT_FILENO, false));
_imp->capture_stdout = thread->own_capture_stdout.get();
}
}
@@ -541,7 +541,7 @@ Process::run()
thread->prefix_stderr = _imp->prefix_stderr;
if (! _imp->capture_stderr)
{
- thread->own_capture_stderr.reset(new SafeOFStream(STDERR_FILENO));
+ thread->own_capture_stderr.reset(new SafeOFStream(STDERR_FILENO, false));
_imp->capture_stderr = thread->own_capture_stderr.get();
}
}