From d77559acad5da864e764aef8aed08046e4d38ed4 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 17:04:52 +0000 Subject: * Patch from Eric Wong to inclu... Author: mdz Date: 2004-01-07 20:39:37 GMT * Patch from Eric Wong to include apt18n.h after other headers to avoid breaking locale.h when setlocale() is defined as an empty macro (Closes: #226509) --- apt-inst/contrib/arfile.cc | 4 ++-- apt-inst/contrib/extracttar.cc | 5 +++-- apt-inst/deb/debfile.cc | 4 ++-- apt-inst/deb/dpkgdb.cc | 4 ++-- apt-inst/dirstream.cc | 4 ++-- apt-inst/extract.cc | 4 ++-- apt-inst/filelist.cc | 4 ++-- 7 files changed, 15 insertions(+), 14 deletions(-) (limited to 'apt-inst') diff --git a/apt-inst/contrib/arfile.cc b/apt-inst/contrib/arfile.cc index b423eb4cb..eb708271e 100644 --- a/apt-inst/contrib/arfile.cc +++ b/apt-inst/contrib/arfile.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: arfile.cc,v 1.6 2003/07/18 14:15:11 mdz Exp $ +// $Id: arfile.cc,v 1.7 2004/01/07 20:39:37 mdz Exp $ /* ###################################################################### AR File - Handle an 'AR' archive @@ -17,13 +17,13 @@ #ifdef __GNUG__ #pragma implementation "apt-pkg/arfile.h" #endif -#include #include #include #include #include /*}}}*/ +#include struct ARArchive::MemberHeader { diff --git a/apt-inst/contrib/extracttar.cc b/apt-inst/contrib/extracttar.cc index 5d939bd80..63bb2ba80 100644 --- a/apt-inst/contrib/extracttar.cc +++ b/apt-inst/contrib/extracttar.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: extracttar.cc,v 1.8 2003/07/18 15:35:23 mdz Exp $ +// $Id: extracttar.cc,v 1.9 2004/01/07 20:39:37 mdz Exp $ /* ###################################################################### Extract a Tar - Tar Extractor @@ -19,7 +19,6 @@ #ifdef __GNUG__ #pragma implementation "apt-pkg/extracttar.h" #endif -#include #include #include @@ -32,7 +31,9 @@ #include #include #include +#include /*}}}*/ + using namespace std; // The on disk header for a tar file. diff --git a/apt-inst/deb/debfile.cc b/apt-inst/deb/debfile.cc index 5c8339637..d3a39911d 100644 --- a/apt-inst/deb/debfile.cc +++ b/apt-inst/deb/debfile.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: debfile.cc,v 1.3 2003/02/10 00:36:12 doogie Exp $ +// $Id: debfile.cc,v 1.4 2004/01/07 20:39:37 mdz Exp $ /* ###################################################################### Debian Archive File (.deb) @@ -20,7 +20,6 @@ #pragma implementation "apt-pkg/debfile.h" #endif -#include #include #include #include @@ -28,6 +27,7 @@ #include #include +#include /*}}}*/ // DebFile::debDebFile - Constructor /*{{{*/ diff --git a/apt-inst/deb/dpkgdb.cc b/apt-inst/deb/dpkgdb.cc index f71811a9b..d06ff6353 100644 --- a/apt-inst/deb/dpkgdb.cc +++ b/apt-inst/deb/dpkgdb.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: dpkgdb.cc,v 1.7 2003/02/10 00:36:12 doogie Exp $ +// $Id: dpkgdb.cc,v 1.8 2004/01/07 20:39:37 mdz Exp $ /* ###################################################################### DPKGv1 Database Implemenation @@ -17,7 +17,6 @@ #pragma implementation "apt-pkg/dpkgdb.h" #endif -#include #include #include #include @@ -33,6 +32,7 @@ #include #include #include +#include /*}}}*/ using namespace std; diff --git a/apt-inst/dirstream.cc b/apt-inst/dirstream.cc index 721041fe5..3821156e2 100644 --- a/apt-inst/dirstream.cc +++ b/apt-inst/dirstream.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: dirstream.cc,v 1.3 2003/02/10 00:36:12 doogie Exp $ +// $Id: dirstream.cc,v 1.4 2004/01/07 20:39:37 mdz Exp $ /* ###################################################################### Directory Stream @@ -15,7 +15,6 @@ #pragma implementation "apt-pkg/dirstream.h" #endif -#include #include #include @@ -25,6 +24,7 @@ #include #include #include +#include /*}}}*/ // DirStream::DoItem - Process an item /*{{{*/ diff --git a/apt-inst/extract.cc b/apt-inst/extract.cc index 437cfbb55..d06cd57f5 100644 --- a/apt-inst/extract.cc +++ b/apt-inst/extract.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: extract.cc,v 1.6 2003/02/10 00:36:12 doogie Exp $ +// $Id: extract.cc,v 1.7 2004/01/07 20:39:37 mdz Exp $ /* ###################################################################### Archive Extraction Directory Stream @@ -47,7 +47,6 @@ #ifdef __GNUG__ #pragma implementation "apt-pkg/extract.h" #endif -#include #include #include #include @@ -58,6 +57,7 @@ #include #include #include +#include /*}}}*/ using namespace std; diff --git a/apt-inst/filelist.cc b/apt-inst/filelist.cc index 446b9f561..ee8cbbf73 100644 --- a/apt-inst/filelist.cc +++ b/apt-inst/filelist.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: filelist.cc,v 1.4 2003/02/10 00:36:12 doogie Exp $ +// $Id: filelist.cc,v 1.5 2004/01/07 20:39:37 mdz Exp $ /* ###################################################################### File Listing - Manages a Cache of File -> Package names. @@ -36,7 +36,6 @@ #pragma implementation "apt-pkg/filelist.h" #endif -#include #include #include #include @@ -46,6 +45,7 @@ #include #include #include +#include /*}}}*/ using namespace std; -- cgit v1.2.3