]> git.saurik.com Git - apt.git/blobdiff - methods/file.cc
* added methods/rred.cc (thanks to robertle)
[apt.git] / methods / file.cc
index bf7d380c58267200f46d1711c7a77c5feabf6672..3500de9f5f100cab17ac53e8e97af267e7773845 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: file.cc,v 1.9 2003/02/10 07:34:41 doogie Exp $
+// $Id: file.cc,v 1.9.2.1 2004/01/16 18:58:50 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
@@ -83,6 +83,8 @@ bool FileMethod::Fetch(FetchItem *Itm)
 
 int main()
 {
+   setlocale(LC_ALL, "");
+
    FileMethod Mth;
    return Mth.Run();
 }