diff options
author | Julian Andres Klode <jak@debian.org> | 2010-08-10 14:59:56 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2010-08-10 14:59:56 +0200 |
commit | 22041bd2864b8d0b401b45dde9eda4003a11fec4 (patch) | |
tree | e3f15fbd4a6486f9048764c850d183feab21adc9 /methods/gzip.cc | |
parent | fc81e8f2deff3b86738cad78aa491b1b514b3c59 (diff) |
apt-pkg, methods: Convert users of WriteEmpty to WriteAtomic.
Diffstat (limited to 'methods/gzip.cc')
-rw-r--r-- | methods/gzip.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/gzip.cc b/methods/gzip.cc index 72e3ac909..5b9b66b50 100644 --- a/methods/gzip.cc +++ b/methods/gzip.cc @@ -55,7 +55,7 @@ bool GzipMethod::Fetch(FetchItem *Itm) return true; } - FileFd To(Itm->DestFile,FileFd::WriteEmpty); + FileFd To(Itm->DestFile,FileFd::WriteAtomic); To.EraseOnFailure(); if (_error->PendingError() == true) return false; |