{
if (Name.empty() == true)
{
- Pin *P = &*Defaults.insert(Defaults.end(),PkgPin());
+ Pin *P = &*Defaults.insert(Defaults.end(),Pin());
P->Type = Type;
P->Priority = Priority;
P->Data = Data;
* apt-pkg/policy.cc:
- do not segfault in pinning if a package with this name doesn't exist.
Thanks to Ferdinand Thommes for the report!
+ - Defaults is a vector of Pin not of PkgPin
- -- David Kalnischkies <kalnischkies@gmail.com> Wed, 29 Jun 2011 22:05:50 +0200
+ -- David Kalnischkies <kalnischkies@gmail.com> Wed, 29 Jun 2011 23:15:35 +0200
apt (0.8.15) unstable; urgency=low