// -*- 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
#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
{
// -*- 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
#ifdef __GNUG__
#pragma implementation "apt-pkg/extracttar.h"
#endif
-#include <apti18n.h>
#include <apt-pkg/extracttar.h>
#include <apt-pkg/error.h>
#include <signal.h>
#include <fcntl.h>
#include <iostream>
+#include <apti18n.h>
/*}}}*/
+
using namespace std;
// The on disk header for a tar file.
// -*- 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)
#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>
#include <sys/stat.h>
#include <unistd.h>
+#include <apti18n.h>
/*}}}*/
// DebFile::debDebFile - Constructor /*{{{*/
// -*- 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
#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>
#include <unistd.h>
#include <ctype.h>
#include <iostream>
+#include <apti18n.h>
/*}}}*/
using namespace std;
// -*- 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
#pragma implementation "apt-pkg/dirstream.h"
#endif
-#include <apti18n.h>
#include <apt-pkg/dirstream.h>
#include <apt-pkg/error.h>
#include <errno.h>
#include <utime.h>
#include <unistd.h>
+#include <apti18n.h>
/*}}}*/
// DirStream::DoItem - Process an item /*{{{*/
// -*- 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
#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>
#include <errno.h>
#include <dirent.h>
#include <iostream>
+#include <apti18n.h>
/*}}}*/
using namespace std;
// -*- 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.
#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>
#include <stdlib.h>
#include <string.h>
#include <iostream>
+#include <apti18n.h>
/*}}}*/
using namespace std;
+apt (0.5.21) unstable; urgency=low
+
+ * 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)
+
+ --
+
apt (0.5.20) unstable; urgency=low
* Fixed German translations of "Suggested" from Christian Garbs
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: cdrom.cc,v 1.20 2003/02/10 07:34:41 doogie Exp $
+// $Id: cdrom.cc,v 1.21 2004/01/07 20:39:38 mdz Exp $
/* ######################################################################
CDROM URI method for APT
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#include <apti18n.h>
#include <apt-pkg/acquire-method.h>
#include <apt-pkg/cdromutl.h>
#include <apt-pkg/error.h>
#include <unistd.h>
#include <iostream>
+#include <apti18n.h>
/*}}}*/
using namespace std;
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: connect.cc,v 1.10 2003/02/10 07:34:41 doogie Exp $
+// $Id: connect.cc,v 1.11 2004/01/07 20:39:38 mdz Exp $
/* ######################################################################
Connect - Replacement connect call
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#include <apti18n.h>
#include "connect.h"
#include <apt-pkg/error.h>
#include <apt-pkg/fileutl.h>
#include <netdb.h>
#include "rfc2553emu.h"
+#include <apti18n.h>
/*}}}*/
static string LastHost;
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: copy.cc,v 1.7 2003/02/10 07:34:41 doogie Exp $
+// $Id: copy.cc,v 1.8 2004/01/07 20:39:38 mdz Exp $
/* ######################################################################
Copy URI - This method takes a uri like a file: uri and copies it
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#include <apti18n.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/acquire-method.h>
#include <apt-pkg/error.h>
#include <sys/stat.h>
#include <utime.h>
#include <unistd.h>
+#include <apti18n.h>
/*}}}*/
class CopyMethod : public pkgAcqMethod
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: file.cc,v 1.9 2003/02/10 07:34:41 doogie Exp $
+// $Id: file.cc,v 1.10 2004/01/07 20:39:38 mdz Exp $
/* ######################################################################
File URI method for APT
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#include <apti18n.h>
#include <apt-pkg/acquire-method.h>
#include <apt-pkg/error.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <apti18n.h>
/*}}}*/
class FileMethod : public pkgAcqMethod
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: ftp.cc,v 1.31 2003/08/10 02:24:39 mdz Exp $
+// $Id: ftp.cc,v 1.32 2004/01/07 20:39:38 mdz Exp $
/* ######################################################################
FTP Aquire Method - This is the FTP aquire method for APT.
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#include <apti18n.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/acquire-method.h>
#include <apt-pkg/error.h>
#include <errno.h>
#include <stdarg.h>
#include <iostream>
+#include <apti18n.h>
// Internet stuff
#include <netinet/in.h>
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: gzip.cc,v 1.17 2003/02/10 07:34:41 doogie Exp $
+// $Id: gzip.cc,v 1.18 2004/01/07 20:39:38 mdz Exp $
/* ######################################################################
GZip method - Take a file URI in and decompress it into the target
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#include <apti18n.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/error.h>
#include <apt-pkg/acquire-method.h>
#include <utime.h>
#include <stdio.h>
#include <errno.h>
+#include <apti18n.h>
/*}}}*/
const char *Prog;
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: http.cc,v 1.56 2003/02/12 15:33:36 doogie Exp $
+// $Id: http.cc,v 1.57 2004/01/07 20:39:38 mdz Exp $
/* ######################################################################
HTTP Aquire Method - This is the HTTP aquire method for APT.
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#include <apti18n.h>
#include <apt-pkg/fileutl.h>
#include <apt-pkg/acquire-method.h>
#include <apt-pkg/error.h>
#include <errno.h>
#include <string.h>
#include <iostream>
+#include <apti18n.h>
// Internet stuff
#include <netdb.h>
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: rsh.cc,v 1.6 2003/02/10 07:34:41 doogie Exp $
+// $Id: rsh.cc,v 1.7 2004/01/07 20:39:38 mdz Exp $
/* ######################################################################
RSH method - Transfer files via rsh compatible program
##################################################################### */
/*}}}*/
// Include Files /*{{{*/
-#include <apti18n.h>
#include "rsh.h"
#include <apt-pkg/error.h>
#include <stdio.h>
#include <errno.h>
#include <stdarg.h>
+#include <apti18n.h>
/*}}}*/
const char *Prog;