aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environments')
-rw-r--r--paludis/environments/paludis/world.cc2
-rw-r--r--paludis/environments/portage/portage_environment.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/paludis/environments/paludis/world.cc b/paludis/environments/paludis/world.cc
index 79e865da1..2ffd2d1a1 100644
--- a/paludis/environments/paludis/world.cc
+++ b/paludis/environments/paludis/world.cc
@@ -106,7 +106,7 @@ World::_add_string_to_world(const std::string & n) const
{
try
{
- SafeOFStream f(*_imp->maybe_world_file);
+ SafeOFStream f(*_imp->maybe_world_file, -1, true);
}
catch (const SafeOFStreamError & e)
{
diff --git a/paludis/environments/portage/portage_environment.cc b/paludis/environments/portage/portage_environment.cc
index 0c0510adb..597640d56 100644
--- a/paludis/environments/portage/portage_environment.cc
+++ b/paludis/environments/portage/portage_environment.cc
@@ -917,7 +917,7 @@ PortageEnvironment::_add_string_to_world(const std::string & s) const
{
try
{
- SafeOFStream f(_imp->world_file);
+ SafeOFStream f(_imp->world_file, -1, true);
}
catch (const SafeOFStreamError & e)
{