HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47e6f3a
)
* methods/gzip.cc:
author
Michael Vogt
<michael.vogt@ubuntu.com>
Sat, 30 Sep 2006 14:30:42 +0000
(16:30 +0200)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Sat, 30 Sep 2006 14:30:42 +0000
(16:30 +0200)
- fix invalid reanem
methods/gzip.cc
patch
|
blob
|
blame
|
history
diff --git
a/methods/gzip.cc
b/methods/gzip.cc
index
a8e816b
..
f732c0b
100644
(file)
--- a/
methods/gzip.cc
+++ b/
methods/gzip.cc
@@
-55,7
+55,7
@@
bool GzipMethod::Fetch(FetchItem *Itm)
// if the file is empty, just rename it and return
if(From.Size() == 0)
{
-
Rename(Path, Itm->DestFile
);
+
rename(Path.c_str(), Itm->DestFile.c_str()
);
return true;
}