aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/e_repository.cc')
-rw-r--r--paludis/repositories/e/e_repository.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index 0663f570b..cf1bfb9b4 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -1096,7 +1096,7 @@ ERepository::make_manifest(const QualifiedPackageName & qpn)
FSPath package_dir = _imp->layout->package_directory(qpn);
FSPath(package_dir / "Manifest").unlink();
- SafeOFStream manifest(FSPath(package_dir / "Manifest"));
+ SafeOFStream manifest(FSPath(package_dir / "Manifest"), -1, true);
if (! manifest)
throw ERepositoryConfigurationError("Couldn't open Manifest for writing.");
@@ -1999,7 +1999,7 @@ ERepository::merge(const MergeParams & m)
if (! has_category_named(m.package_id()->name().category()))
{
- SafeOFStream s(_imp->layout->categories_file(), O_CREAT | O_WRONLY | O_CLOEXEC | O_APPEND);
+ SafeOFStream s(_imp->layout->categories_file(), O_CREAT | O_WRONLY | O_CLOEXEC | O_APPEND, true);
s << m.package_id()->name().category() << std::endl;
}
}