aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository_news.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/e_repository_news.cc')
-rw-r--r--paludis/repositories/e/e_repository_news.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/e_repository_news.cc b/paludis/repositories/e/e_repository_news.cc
index fd17dc074..da7df1e91 100644
--- a/paludis/repositories/e/e_repository_news.cc
+++ b/paludis/repositories/e/e_repository_news.cc
@@ -220,13 +220,13 @@ ERepositoryNews::update_news() const
{
Context update_context("When updating skip and unread files:");
- SafeOFStream s(_imp->skip_file, O_CREAT | O_WRONLY | O_APPEND);
+ SafeOFStream s(_imp->skip_file, O_CREAT | O_WRONLY | O_APPEND, false);
if (! s)
Log::get_instance()->message("e.news.skip_file.append_failure", ll_warning, lc_no_context) <<
"Cannot append to news skip file '" << _imp->skip_file <<
"', skipping news item '" << *d << "'";
- SafeOFStream t(_imp->unread_file, O_CREAT | O_WRONLY | O_APPEND);
+ SafeOFStream t(_imp->unread_file, O_CREAT | O_WRONLY | O_APPEND, false);
if (! t)
Log::get_instance()->message("e.news.unread_file.append_failure", ll_warning, lc_no_context) <<
"Cannot append to unread file '" << _imp->unread_file <<