projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merged from debian-experimental2
[apt.git]
/
methods
/
gzip.cc
diff --git
a/methods/gzip.cc
b/methods/gzip.cc
index a51497948646d1d0ac98e2bb70017f1cbbcaaf7b..6ab6548efb56f82edea77f4de17763e14d3c2953 100644
(file)
--- a/
methods/gzip.cc
+++ b/
methods/gzip.cc
@@
-48,7
+48,7
@@
bool GzipMethod::Fetch(FetchItem *Itm)
URIStart(Res);
// Open the source and destination files
- FileFd From(Path,FileFd::ReadOnlyGzip);
+ FileFd From(Path,FileFd::ReadOnly
, FileFd::
Gzip);
if(From.FileSize() == 0)
return _error->Error(_("Empty files can't be valid archives"));