aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild_flat_metadata_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/ebuild_flat_metadata_cache.cc')
-rw-r--r--paludis/repositories/e/ebuild_flat_metadata_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild_flat_metadata_cache.cc b/paludis/repositories/e/ebuild_flat_metadata_cache.cc
index 8b5dc7a2e..4c85e8a20 100644
--- a/paludis/repositories/e/ebuild_flat_metadata_cache.cc
+++ b/paludis/repositories/e/ebuild_flat_metadata_cache.cc
@@ -881,7 +881,7 @@ EbuildFlatMetadataCache::save(const std::shared_ptr<const EbuildID> & id)
try
{
{
- SafeOFStream cache_file(_imp->filename);
+ SafeOFStream cache_file(_imp->filename, -1, true);
cache_file << cache.str();
}
_imp->filename.utime(Timestamp(_imp->ebuild_stat.mtim().seconds(), 0));