summaryrefslogtreecommitdiff
path: root/methods/gzip.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-08-11 09:14:02 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-08-11 09:14:02 +0200
commit180691bee7484f25d9879a77f577537ae1d98907 (patch)
tree845c06c2fdf0215902b7b08cf8c91dcdbad6c20d /methods/gzip.cc
parent5368af78fb6c996c8ee24e5cf8f645cf00259ead (diff)
parent22041bd2864b8d0b401b45dde9eda4003a11fec4 (diff)
merged from the debian-experimental-ma branch
Diffstat (limited to 'methods/gzip.cc')
-rw-r--r--methods/gzip.cc2
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;