]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.cc
apt-pkg/packagemanager.cc: more debug output for debug::pkgPackageManager
[apt.git] / cmdline / apt-extracttemplates.cc
index 6d580cc28b55417f8e69a02f26ab3b17b21b82b6..21ef1a0508d043b19af7d3fc5642922c11fe4070 100644 (file)
@@ -249,7 +249,7 @@ string WriteFile(const char *package, const char *prefix, const char *data)
 {
        char fn[512];
        static int i;
-        char *tempdir = NULL;
+       const char *tempdir = NULL;
 
         tempdir = getenv("TMPDIR");
         if (tempdir == NULL)
@@ -348,8 +348,7 @@ bool Go(CommandLine &CmdL)
        return !_error->PendingError();
 }
                                                                        /*}}}*/
-
-int main(int argc, const char **argv)
+int main(int argc, const char **argv)                                  /*{{{*/
 {
        CommandLine::Args Args[] = {
                {'h',"help","help",0},
@@ -391,3 +390,4 @@ int main(int argc, const char **argv)
        
        return 0;
 }
+                                                                       /*}}}*/