projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use IndexTarget to get to IndexFile
[apt.git]
/
apt-pkg
/
edsp
/
edspindexfile.cc
diff --git
a/apt-pkg/edsp/edspindexfile.cc
b/apt-pkg/edsp/edspindexfile.cc
index e013dd44c2502996c4da149afe029bf8ea5a84fc..d005363620bae2c5f6369ca221c1210b605fa80d 100644
(file)
--- a/
apt-pkg/edsp/edspindexfile.cc
+++ b/
apt-pkg/edsp/edspindexfile.cc
@@
-56,7
+56,7
@@
bool edspIndex::Merge(pkgCacheGenerator &Gen,OpProgress *Prog) const
pkgCache::PkgFileIterator CFile = Gen.GetCurFile();
CFile->Size = Pkg.FileSize();
CFile->mtime = Pkg.ModificationTime();
pkgCache::PkgFileIterator CFile = Gen.GetCurFile();
CFile->Size = Pkg.FileSize();
CFile->mtime = Pkg.ModificationTime();
- map_stringitem_t const storage = Gen.
WriteUniqString(
"edsp::scenario");
+ map_stringitem_t const storage = Gen.
StoreString(pkgCacheGenerator::MIXED,
"edsp::scenario");
CFile->Archive = storage;
if (Gen.MergeList(Parser) == false)
CFile->Archive = storage;
if (Gen.MergeList(Parser) == false)
@@
-65,7
+65,7
@@
bool edspIndex::Merge(pkgCacheGenerator &Gen,OpProgress *Prog) const
}
/*}}}*/
// Index File types for APT /*{{{*/
}
/*}}}*/
// Index File types for APT /*{{{*/
-class edspIFType: public pkgIndexFile::Type
+class
APT_HIDDEN
edspIFType: public pkgIndexFile::Type
{
public:
virtual pkgRecords::Parser *CreatePkgParser(pkgCache::PkgFileIterator) const
{
public:
virtual pkgRecords::Parser *CreatePkgParser(pkgCache::PkgFileIterator) const
@@
-75,7
+75,7
@@
class edspIFType: public pkgIndexFile::Type
};
edspIFType() {Label = "EDSP scenario file";};
};
};
edspIFType() {Label = "EDSP scenario file";};
};
-
static
edspIFType _apt_Universe;
+
APT_HIDDEN
edspIFType _apt_Universe;
const pkgIndexFile::Type *edspIndex::GetType() const
{
const pkgIndexFile::Type *edspIndex::GetType() const
{