]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.cc
ensure that the fullname of a package is displayed in the debug output
[apt.git] / cmdline / apt-extracttemplates.cc
index 5d7b76c23e33b2804e9775f36807efc9314f80c8..dc4c110a122fbbd0261c808f8039bd7c4325f14b 100644 (file)
@@ -30,6 +30,7 @@
 #include <apt-pkg/error.h>
 #include <apt-pkg/strutl.h>
 #include <apt-pkg/fileutl.h>
+#include <apt-pkg/pkgsystem.h>
 
 #include <stdio.h>
 #include <string.h>
@@ -52,8 +53,8 @@ pkgCache *DebFile::Cache = 0;
 // ---------------------------------------------------------------------
 /* */
 DebFile::DebFile(const char *debfile)
-       : File(debfile, FileFd::ReadOnly), Control(0), DepOp(0), 
-          PreDepOp(0), Config(0), Template(0), Which(None)
+       : File(debfile, FileFd::ReadOnly), Size(0), Control(NULL), ControlLen(0),
+         DepOp(0), PreDepOp(0), Config(0), Template(0), Which(None)
 {
 }
                                                                        /*}}}*/