projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
suppoer $(ARCH) in deb822 sources.list as well
[apt.git]
/
apt-pkg
/
vendor.cc
diff --git
a/apt-pkg/vendor.cc
b/apt-pkg/vendor.cc
index 2350afe693f2d1ca3ac47a0f1fcfd7e3f1b4671b..fc03ec84583319e1509fbbea06c3a0628e3e61b8 100644
(file)
--- a/
apt-pkg/vendor.cc
+++ b/
apt-pkg/vendor.cc
@@
-1,3
+1,5
@@
+#include<config.h>
+
#include <iostream>
#include <apt-pkg/error.h>
#include <apt-pkg/vendor.h>
#include <iostream>
#include <apt-pkg/error.h>
#include <apt-pkg/vendor.h>
@@
-10,7
+12,7
@@
Vendor::Vendor(std::string VendorID,
this->VendorID = VendorID;
this->Origin = Origin;
for (std::vector<struct Vendor::Fingerprint *>::iterator I = FingerprintList->begin();
this->VendorID = VendorID;
this->Origin = Origin;
for (std::vector<struct Vendor::Fingerprint *>::iterator I = FingerprintList->begin();
- I != FingerprintList->end();
I++
)
+ I != FingerprintList->end();
++I
)
{
if (_config->FindB("Debug::Vendor", false))
std::cerr << "Vendor \"" << VendorID << "\": Mapping \""
{
if (_config->FindB("Debug::Vendor", false))
std::cerr << "Vendor \"" << VendorID << "\": Mapping \""
@@
-20,16
+22,16
@@
Vendor::Vendor(std::string VendorID,
delete FingerprintList;
}
delete FingerprintList;
}
-const st
ring Vendor::LookupFingerprint(
string Print) const
+const st
d::string Vendor::LookupFingerprint(std::
string Print) const
{
{
- std::map<st
ring,
string>::const_iterator Elt = Fingerprints.find(Print);
+ std::map<st
d::string,std::
string>::const_iterator Elt = Fingerprints.find(Print);
if (Elt == Fingerprints.end())
return "";
else
return (*Elt).second;
}
if (Elt == Fingerprints.end())
return "";
else
return (*Elt).second;
}
-bool Vendor::CheckDist(string Dist)
+bool Vendor::CheckDist(st
d::st
ring Dist)
{
return true;
}
{
return true;
}