]> git.saurik.com Git - apt.git/blobdiff - apt-inst/filelist.cc
Merge remote-tracking branch 'mvo/feature/dpkg-progress-fancy' into debian/sid
[apt.git] / apt-inst / filelist.cc
index 446b9f5616465c96ffbe14fcfbc3eb50bcfd1d54..879c07855b7b2e36754fb3584dba2adcee6696d1 100644 (file)
@@ -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.4.2.1 2004/01/16 18:58:50 mdz Exp $
 /* ######################################################################
 
    File Listing - Manages a Cache of File -> Package names.
    ##################################################################### */
                                                                        /*}}}*/
 // Include Files                                                       /*{{{*/
-#ifdef __GNUG__
-#pragma implementation "apt-pkg/filelist.h"
-#endif
+#include<config.h>
 
-#include <apti18n.h>
 #include <apt-pkg/filelist.h>
 #include <apt-pkg/mmap.h>
 #include <apt-pkg/error.h>
@@ -46,6 +43,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <iostream>
+#include <apti18n.h>
                                                                        /*}}}*/
 
 using namespace std;
@@ -465,7 +463,7 @@ bool pkgFLCache::AddDiversion(PkgIterator const &Owner,
    // Should never happen
    if ((FromN->Flags & Node::Diversion) != Node::Diversion ||
        (ToN->Flags & Node::Diversion) != Node::Diversion)
-      return _error->Error(_("Internal Error in AddDiversion"));
+      return _error->Error(_("Internal error in AddDiversion"));
 
    // Now, try to reclaim an existing diversion..
    map_ptrloc Diver = 0;