~racb/ubuntu/quantal/apt/by_hash

« back to all changes in this revision

Viewing changes to apt-pkg/deb/debindexfile.cc

  • Committer: Package Import Robot
  • Author(s): Steve Langasek, Michael Vogt, Steve Langasek
  • Date: 2012-06-11 22:36:16 UTC
  • mfrom: (1.4.47 sid)
  • Revision ID: package-import@ubuntu.com-20120611223616-1cctfc7qrxrx4vcu
Tags: 0.9.6ubuntu1
[ Michael Vogt ]
* merged from Debian, remaining changes:
  - use ubuntu keyring and ubuntu archive keyring in apt-key
  - run update-apt-xapian-index in apt.cron
  - support apt-key net-update and verify keys against master-keyring
  - run apt-key net-update in cron.daily
  - different example sources.list
  - APT::pkgPackageManager::MaxLoopCount set to 5000
  - apport pkgfailure handling
  - ubuntu changelog download handling
  - patch for apt cross-building, see http://bugs.debian.org/666772

[ Steve Langasek ]
* Drop upgrade handling for obsolete conffile /etc/apt/apt.conf.d/01ubuntu,
  removed in previous LTS.
* prepare-release: declare the packages needed as source build deps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
   /* we need to ignore errors here; if the lists are absent, just return 0 */
162
162
   _error->PushToStack();
163
163
 
164
 
   FileFd f = FileFd (IndexFile("Sources"), FileFd::ReadOnly, FileFd::Extension);
 
164
   FileFd f(IndexFile("Sources"), FileFd::ReadOnly, FileFd::Extension);
165
165
   if (!f.Failed())
166
166
      size = f.Size();
167
167
 
290
290
   /* we need to ignore errors here; if the lists are absent, just return 0 */
291
291
   _error->PushToStack();
292
292
 
293
 
   FileFd f = FileFd (IndexFile("Packages"), FileFd::ReadOnly, FileFd::Extension);
 
293
   FileFd f(IndexFile("Packages"), FileFd::ReadOnly, FileFd::Extension);
294
294
   if (!f.Failed())
295
295
      size = f.Size();
296
296
 
488
488
   /* we need to ignore errors here; if the lists are absent, just return 0 */
489
489
   _error->PushToStack();
490
490
 
491
 
   FileFd f = FileFd (IndexFile(Language), FileFd::ReadOnly, FileFd::Extension);
 
491
   FileFd f(IndexFile(Language), FileFd::ReadOnly, FileFd::Extension);
492
492
   if (!f.Failed())
493
493
      size = f.Size();
494
494