projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix testcase framework to test correctly for virtual packages
[apt.git]
/
methods
/
copy.cc
diff --git
a/methods/copy.cc
b/methods/copy.cc
index 027b59f4632ada50b809cbe78e2792c3756afb83..a6bb372a3754d9b8d72ee5f85f81b2ebf586904f 100644
(file)
--- a/
methods/copy.cc
+++ b/
methods/copy.cc
@@
-52,7
+52,7
@@
bool CopyMethod::Fetch(FetchItem *Itm)
// See if the file exists
FileFd From(File,FileFd::ReadOnly);
- FileFd To(Itm->DestFile,FileFd::Write
Empty
);
+ FileFd To(Itm->DestFile,FileFd::Write
Atomic
);
To.EraseOnFailure();
if (_error->PendingError() == true)
{