// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: extracttar.cc,v 1.4 2001/09/30 04:06:59 jgg Exp $
+// $Id: extracttar.cc,v 1.5 2002/03/26 07:38:58 jgg Exp $
/* ######################################################################
Extract a Tar - Tar Extractor
#include <unistd.h>
#include <signal.h>
#include <fcntl.h>
-#include <iostream.h>
+#include <iostream>
/*}}}*/
// The on disk header for a tar file.
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: dpkgdb.cc,v 1.4 2001/05/27 23:50:42 jgg Exp $
+// $Id: dpkgdb.cc,v 1.5 2002/03/26 07:38:58 jgg Exp $
/* ######################################################################
DPKGv1 Database Implemenation
#include <fcntl.h>
#include <unistd.h>
#include <ctype.h>
-#include <iostream.h>
+#include <iostream>
/*}}}*/
// EraseDir - Erase A Directory /*{{{*/
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: extract.cc,v 1.3 2001/05/27 23:47:14 jgg Exp $
+// $Id: extract.cc,v 1.4 2002/03/26 07:38:57 jgg Exp $
/* ######################################################################
Archive Extraction Directory Stream
#include <unistd.h>
#include <errno.h>
#include <dirent.h>
-#include <iostream.h>
+#include <iostream>
/*}}}*/
static const char *TempExt = "dpkg-tmp";
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: algorithms.cc,v 1.37 2001/12/26 06:47:37 jgg Exp $
+// $Id: algorithms.cc,v 1.38 2002/03/26 07:38:58 jgg Exp $
/* ######################################################################
Algorithms - A set of misc algorithms
#include <apti18n.h>
-#include <iostream.h>
+#include <iostream>
/*}}}*/
pkgProblemResolver *pkgProblemResolver::This = 0;
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: error.cc,v 1.10 2001/05/07 05:28:44 jgg Exp $
+// $Id: error.cc,v 1.11 2002/03/26 07:38:58 jgg Exp $
/* ######################################################################
Global Erorr Class - Global error mechanism
#include <apt-pkg/error.h>
-#include <iostream.h>
+#include <iostream>
#include <errno.h>
#include <stdio.h>
#include <string>
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: pkgsystem.h,v 1.4 2001/04/29 05:13:51 jgg Exp $
+// $Id: pkgsystem.h,v 1.5 2002/03/26 07:38:58 jgg Exp $
/* ######################################################################
System - Abstraction for running on different systems.
#endif
#include <apt-pkg/depcache.h>
-#include <vector.h>
+#include <vector>
class pkgPackageManager;
class pkgVersioningSystem;
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: sourcelist.cc,v 1.21 2002/03/20 05:51:20 jgg Exp $
+// $Id: sourcelist.cc,v 1.22 2002/03/26 07:38:58 jgg Exp $
/* ######################################################################
List of Sources
#include <apti18n.h>
-#include <fstream.h>
+#include <fstream>
/*}}}*/
using namespace std;
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-cache.cc,v 1.57 2002/03/20 05:51:52 jgg Exp $
+// $Id: apt-cache.cc,v 1.58 2002/03/26 07:38:58 jgg Exp $
/* ######################################################################
apt-cache - Manages the cache files
#include <apti18n.h>
#include <locale.h>
-#include <iostream.h>
+#include <iostream>
#include <unistd.h>
#include <errno.h>
#include <regex.h>
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-get.cc,v 1.115 2002/03/20 05:51:52 jgg Exp $
+// $Id: apt-get.cc,v 1.116 2002/03/26 07:38:58 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
#include "acqprogress.h"
#include <locale.h>
-#include <fstream.h>
+#include <fstream>
#include <termios.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: indexcopy.cc,v 1.9 2001/08/18 22:20:40 jgg Exp $
+// $Id: indexcopy.cc,v 1.10 2002/03/26 07:38:58 jgg Exp $
/* ######################################################################
Index Copying - Aid for copying and verifying the index files
#include <apt-pkg/configuration.h>
#include <apt-pkg/tagfile.h>
-#include <iostream.h>
+#include <iostream>
#include <unistd.h>
#include <sys/stat.h>
#include <stdio.h>
* /usr/doc reference in postinst. Closes: #126189
* Doc updates. Closes: #120689
* Possible apt-cache segfault. Closes: #120311, #118431, #117915, #135295,
- #131062
+ #131062, #136749
* Print special message for EAI_AGAIN. Closes: #131397
* libapt-pkg-dev needs to bring in the apt-inst library if linking
is to work. Closes: #133943
* Typos, Doc Stuff. Closes: #132772, #129970, #123642, #114892, #113786,
- #109591, #105920, #103678
+ #109591, #105920, #103678, #139752, #138186, #138054
* Fix possibility for tag file parsing to fail in some unlikely situations.
- Closes: #139328
+ Closes: #139328
+ * Use std C++ names for some header files. Closes: #128741
-- Randolph Chung <tausq@debian.org> Tue, 4 Dec 2001 23:26:42 -0800
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: versiontest.cc,v 1.2 2001/02/20 07:03:18 jgg Exp $
+// $Id: versiontest.cc,v 1.3 2002/03/26 07:38:58 jgg Exp $
/* ######################################################################
Version Test - Simple program to run through a file and comare versions.
#include <system.h>
#include <apt-pkg/error.h>
#include <apt-pkg/version.h>
-#include <iostream.h>
-#include <fstream.h>
+#include <iostream>
+#include <fstream>
static int verrevcmp(const char *val, const char *ref)
{