diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 17:04:52 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 17:04:52 +0000 |
commit | d77559acad5da864e764aef8aed08046e4d38ed4 (patch) | |
tree | 4e68993ea7784566eb95f87aeb25af406149992a /apt-inst | |
parent | 57dd614d0e8a103285357a9576261744dce39199 (diff) |
* Patch from Eric Wong <normalperson@yhbt.net> to inclu...
Author: mdz
Date: 2004-01-07 20:39:37 GMT
* Patch from Eric Wong <normalperson@yhbt.net> to include apt18n.h after
other headers to avoid breaking locale.h when setlocale() is defined
as an empty macro (Closes: #226509)
Diffstat (limited to 'apt-inst')
-rw-r--r-- | apt-inst/contrib/arfile.cc | 4 | ||||
-rw-r--r-- | apt-inst/contrib/extracttar.cc | 5 | ||||
-rw-r--r-- | apt-inst/deb/debfile.cc | 4 | ||||
-rw-r--r-- | apt-inst/deb/dpkgdb.cc | 4 | ||||
-rw-r--r-- | apt-inst/dirstream.cc | 4 | ||||
-rw-r--r-- | apt-inst/extract.cc | 4 | ||||
-rw-r--r-- | apt-inst/filelist.cc | 4 |
7 files changed, 15 insertions, 14 deletions
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 <apti18n.h> #include <apt-pkg/arfile.h> #include <apt-pkg/strutl.h> #include <apt-pkg/error.h> #include <stdlib.h> /*}}}*/ +#include <apti18n.h> 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 <apti18n.h> #include <apt-pkg/extracttar.h> #include <apt-pkg/error.h> @@ -32,7 +31,9 @@ #include <signal.h> #include <fcntl.h> #include <iostream> +#include <apti18n.h> /*}}}*/ + 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 <apti18n.h> #include <apt-pkg/debfile.h> #include <apt-pkg/extracttar.h> #include <apt-pkg/error.h> @@ -28,6 +27,7 @@ #include <sys/stat.h> #include <unistd.h> +#include <apti18n.h> /*}}}*/ // 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 <apti18n.h> #include <apt-pkg/dpkgdb.h> #include <apt-pkg/configuration.h> #include <apt-pkg/error.h> @@ -33,6 +32,7 @@ #include <unistd.h> #include <ctype.h> #include <iostream> +#include <apti18n.h> /*}}}*/ 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 <apti18n.h> #include <apt-pkg/dirstream.h> #include <apt-pkg/error.h> @@ -25,6 +24,7 @@ #include <errno.h> #include <utime.h> #include <unistd.h> +#include <apti18n.h> /*}}}*/ // 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 <apti18n.h> #include <apt-pkg/extract.h> #include <apt-pkg/error.h> #include <apt-pkg/debversion.h> @@ -58,6 +57,7 @@ #include <errno.h> #include <dirent.h> #include <iostream> +#include <apti18n.h> /*}}}*/ 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 <apti18n.h> #include <apt-pkg/filelist.h> #include <apt-pkg/mmap.h> #include <apt-pkg/error.h> @@ -46,6 +45,7 @@ #include <stdlib.h> #include <string.h> #include <iostream> +#include <apti18n.h> /*}}}*/ using namespace std; |