summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debindexfile.cc
diff options
context:
space:
mode:
authorMichael Vogt <egon@debian-devbox>2012-06-19 13:56:39 +0200
committerMichael Vogt <egon@debian-devbox>2012-06-19 13:56:39 +0200
commit60cb4b09173ef64528dfbe92f016240c6fec3605 (patch)
tree48ce686d588f75c44287e15186c38b9cb3d6c92c /apt-pkg/deb/debindexfile.cc
parente3026ce49a0839dfbe494af7e60d91bc7204f88e (diff)
parent567785b979d9b71ceb92edda82e4f15bb40a2e61 (diff)
merged from donkult
Diffstat (limited to 'apt-pkg/deb/debindexfile.cc')
-rw-r--r--apt-pkg/deb/debindexfile.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc
index 76c740341..de645bb6e 100644
--- a/apt-pkg/deb/debindexfile.cc
+++ b/apt-pkg/deb/debindexfile.cc
@@ -602,7 +602,8 @@ bool debStatusIndex::Merge(pkgCacheGenerator &Gen,OpProgress *Prog) const
pkgCache::PkgFileIterator CFile = Gen.GetCurFile();
CFile->Size = Pkg.FileSize();
CFile->mtime = Pkg.ModificationTime();
- CFile->Archive = Gen.WriteUniqString("now");
+ map_ptrloc const storage = Gen.WriteUniqString("now");
+ CFile->Archive = storage;
if (Gen.MergeList(Parser) == false)
return _error->Error("Problem with MergeList %s",File.c_str());