|
|
@@ -1,6 +1,6 @@
|
|
|
// -*- mode: cpp; mode: fold -*-
|
|
|
// Description /*{{{*/
|
|
|
-// $Id: error.cc,v 1.9 2001/02/20 07:03:17 jgg Exp $
|
|
|
+// $Id: error.cc,v 1.10 2001/05/07 05:28:44 jgg Exp $
|
|
|
/* ######################################################################
|
|
|
|
|
|
Global Erorr Class - Global error mechanism
|
|
|
@@ -20,15 +20,18 @@
|
|
|
|
|
|
#include <apt-pkg/error.h>
|
|
|
|
|
|
+#include <iostream.h>
|
|
|
#include <errno.h>
|
|
|
#include <stdio.h>
|
|
|
-#include <string.h>
|
|
|
+#include <string>
|
|
|
#include <stdarg.h>
|
|
|
#include <unistd.h>
|
|
|
|
|
|
#include "config.h"
|
|
|
/*}}}*/
|
|
|
|
|
|
+using namespace std;
|
|
|
+
|
|
|
// Global Error Object /*{{{*/
|
|
|
/* If the implementation supports posix threads then the accessor function
|
|
|
is compiled to be thread safe otherwise a non-safe version is used. A
|