summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:00:15 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:00:15 +0000
commit8f312f45c9602343744a24d2e954504e9bad8de3 (patch)
tree7255ad65e0a597acf8eadd8ed222ac8721147b00 /cmdline
parentec2f559a053177d8fb7f8ffb6c848c5e6134c36f (diff)
G++ 3.2 fixes
Author: jgg Date: 2003-01-11 07:18:44 GMT G++ 3.2 fixes
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-cache.cc4
-rw-r--r--cmdline/apt-config.cc3
-rw-r--r--cmdline/apt-extracttemplates.cc4
-rw-r--r--cmdline/apt-sortpkgs.cc4
4 files changed, 11 insertions, 4 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index 640775eef..7b9fdbd22 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-cache.cc,v 1.59 2002/11/09 22:47:19 doogie Exp $
+// $Id: apt-cache.cc,v 1.60 2003/01/11 07:18:44 jgg Exp $
/* ######################################################################
apt-cache - Manages the cache files
@@ -39,6 +39,8 @@
#include <stdio.h>
/*}}}*/
+using namespace std;
+
pkgCache *GCache = 0;
pkgSourceList *SrcList = 0;
diff --git a/cmdline/apt-config.cc b/cmdline/apt-config.cc
index 9a937a10f..1c3de2bed 100644
--- a/cmdline/apt-config.cc
+++ b/cmdline/apt-config.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-config.cc,v 1.10 2002/11/09 17:11:25 doogie Exp $
+// $Id: apt-config.cc,v 1.11 2003/01/11 07:18:44 jgg Exp $
/* ######################################################################
APT Config - Program to manipulate APT configuration files
@@ -28,6 +28,7 @@
#include <iostream>
#include <string>
/*}}}*/
+using namespace std;
// DoShell - Handle the shell command /*{{{*/
// ---------------------------------------------------------------------
diff --git a/cmdline/apt-extracttemplates.cc b/cmdline/apt-extracttemplates.cc
index 70e7f914a..73b3bc51c 100644
--- a/cmdline/apt-extracttemplates.cc
+++ b/cmdline/apt-extracttemplates.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-extracttemplates.cc,v 1.13 2002/11/09 23:08:08 doogie Exp $
+// $Id: apt-extracttemplates.cc,v 1.14 2003/01/11 07:18:44 jgg Exp $
/* ######################################################################
APT Extract Templates - Program to extract debconf config and template
@@ -41,6 +41,8 @@
#include "apt-extracttemplates.h"
/*}}}*/
+using namespace std;
+
#define TMPDIR "/tmp"
pkgCache *DebFile::Cache = 0;
diff --git a/cmdline/apt-sortpkgs.cc b/cmdline/apt-sortpkgs.cc
index 63ad51f5f..a0ec2263e 100644
--- a/cmdline/apt-sortpkgs.cc
+++ b/cmdline/apt-sortpkgs.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-sortpkgs.cc,v 1.4 2002/02/15 03:40:00 jgg Exp $
+// $Id: apt-sortpkgs.cc,v 1.5 2003/01/11 07:18:44 jgg Exp $
/* ######################################################################
APT Sort Packages - Program to sort Package and Source files
@@ -29,6 +29,8 @@
#include <unistd.h>
/*}}}*/
+using namespace std;
+
struct PkgName
{
string Name;