]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debindexfile.cc
add new config options "Acquire::ForceIPv4" and
[apt.git] / apt-pkg / deb / debindexfile.cc
index 76c74034148dd55539f8656ea319b20b1d03c6d4..de645bb6e331c1189bd9924f68838f39472adcf8 100644 (file)
@@ -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());