~jr/ubuntu/oneiric/apt/bzr-get-rename

« back to all changes in this revision

Viewing changes to apt-pkg/pkgsystem.cc

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2005-03-07 20:08:33 UTC
  • Revision ID: james.westby@ubuntu.com-20050307200833-0lxdgg2cb4oculdv
Tags: 0.6.35
* Merge apt--mvo--0 (incorporates 0.6.34ubuntu1):
  - Implement MaxSize and MaxAge in apt.cron.daily, to prevent the cache
    from growing too large (Ubuntu #6761)
  - some comments about the pkgAcqMetaSig::Custom600Headers() added
  - use gpg --with-colons
  - commented the ftp no_proxy unseting in methods/ftp.cc
  - added support for "Acquire::gpgv::options" in methods/gpgv.cc
* Merge bubulle@debian.org--2005/apt--main--0
  - Make capitalization more consistent
  - Un-fuzzy translations resulting from capitalization changes
  - Italian translation update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- mode: cpp; mode: fold -*-
2
2
// Description                                                          /*{{{*/
3
 
// $Id: pkgsystem.cc,v 1.2 2001/02/20 07:03:17 jgg Exp $
 
3
// $Id: pkgsystem.cc,v 1.3 2004/02/27 00:43:16 mdz Exp $
4
4
/* ######################################################################
5
5
 
6
6
   System - Abstraction for running on different systems.
16
16
 
17
17
#include <apt-pkg/pkgsystem.h>
18
18
#include <apt-pkg/policy.h>
 
19
#include <cassert>
19
20
                                                                        /*}}}*/
20
21
 
21
22
pkgSystem *_system = 0;
28
29
/* Add it to the global list.. */
29
30
pkgSystem::pkgSystem()
30
31
{
 
32
   assert(GlobalListLen < sizeof(SysList)/sizeof(*SysList));
31
33
   SysList[GlobalListLen] = this;
32
34
   GlobalListLen++;
33
35
}