if (Files[I->ID] == 0)
return;
}
-- // We store that to make sure that the destructor won't segfault,
-- // even if the Cache object was destructed before this instance.
-- PackageFileCount = Cache.HeaderP->PackageFileCount;
}
/*}}}*/
// Records::~pkgRecords - Destructor /*{{{*/
/* */
pkgRecords::~pkgRecords()
{
-- for (unsigned I = 0; I != PackageFileCount; I++)
++ for (unsigned I = 0; I != Cache.HeaderP->PackageFileCount; I++)
delete Files[I];
delete [] Files;
}
return *Files[Ver.File()->ID];
}
/*}}}*/
+// Records::Lookup - Get a parser for the package description file /*{{{*/
+// ---------------------------------------------------------------------
+/* */
+pkgRecords::Parser &pkgRecords::Lookup(pkgCache::DescFileIterator const &Desc)
+{
+ Files[Desc.File()->ID]->Jump(Desc);
+ return *Files[Desc.File()->ID];
+}
+ /*}}}*/
- apt (0.6.42.0exp1) experimental; urgency=low
+++apt (0.6.42.1exp1) experimental; urgency=low
++
++ * added support for package index diffs
++ * added support for i18n of the package descriptions
++ * synced with the apt--debian-sid--0 branch
++ * build from mvo@debian.org--2005/apt--debian-experimental--0
++ (from http://people.debian.org/~mvo/arch)
++
++ -- Michael Vogt <mvo@debian.org> Wed, 19 Oct 2005 22:12:13 +0200
++
++ apt (0.6.42.1) unstable; urgency=low
++
++ * fix a incorrect example in the apt_prefrences man page
++ (thanks to Filipus Klutiero, closes: #282918)
++ * apt-pkg/pkgrecords.cc:
++ - revert patch from last version, it causes trouble on alpha
++ and ia64 (closes: #335102, #335103)
++ * cmdline/apt-get.cc:
++ - be extra carefull in FindSrc (closes: #335213)
++
++ -- Michael Vogt <mvo@debian.org> Sat, 22 Oct 2005 23:44:35 +0200
++
apt (0.6.42) unstable; urgency=low
* apt-pkg/cdrom.cc:
* fix leak in the mmap code, thanks to Daniel Burrows for the
patch (closes: #250583)
* support for apt-get [build-dep|source] -t (closes: #152129)
- * added "APT::Authentication::Trust-CDROM" option to make the life
+ * added "APT::Authentication::TrustCDROM" option to make the life
for the installer people easier (closes: #334656)
* fix crash in apt-ftparchive (thanks to Bastian Blank for the patch)
(closes: #334671)
* cmdline/apt-cdrom.cc:
- fix some missing gettext() calls (closes: #334539)
* doc/apt-cache.8.xml: fix typo (closes: #334714)
--
++
-- Michael Vogt <mvo@debian.org> Wed, 19 Oct 2005 22:02:09 +0200
apt (0.6.41) unstable; urgency=low
-- Matt Zimmerman <mdz@debian.org> Sat, 25 Jun 2005 09:51:00 -0700
+>>>>>>> MERGE-SOURCE
apt (0.6.37) breezy; urgency=low
* Merge bubulle@debian.org--2005/apt--main--0 up to patch-81