take uncompressed control file
authorStefan Schubert <schubi@suse.de>
Wed, 13 Feb 2008 15:04:52 +0000 (15:04 +0000)
committerStefan Schubert <schubi@suse.de>
Wed, 13 Feb 2008 15:04:52 +0000 (15:04 +0000)
zypp/solver/detail/Testcase.cc
zypp/solver/detail/Testcase.h

index 26c138a..91f608c 100644 (file)
@@ -344,7 +344,7 @@ bool Testcase::createTestcase(Resolver & resolver, bool dumpPool, bool runSolver
 
     // writing control file "*-test.xml"
 
-    HelixControl control (dumpPath + "/solver-test.xml.gz",
+    HelixControl control (dumpPath + "/solver-test.xml",
                          repoTable,
                          ZConfig::instance().systemArchitecture(),
                          language);
@@ -404,7 +404,7 @@ HelixControl::HelixControl(const std::string & controlPath,
                           const std::string & systemPath)
     :dumpFile (controlPath)
 {
-    file = new ofgzstream(controlPath.c_str());
+    file = new ofstream(controlPath.c_str());
     if (!file) {
        ZYPP_THROW (Exception( "Can't open " + controlPath ) );
     }
@@ -430,7 +430,7 @@ HelixControl::HelixControl(const std::string & controlPath,
        *file << TAB << " -->" << endl;
 
        *file << TAB << "<channel file=\"" << str::numstring((long)it->first.id())
-             << "-package.xml\" name=\"" << repo.alias()
+             << "-package.xml.gz\" name=\"" << repo.alias()
              << "\" />" << endl << endl;
     }
     for (PoolItemList::const_iterator iter = languages.begin(); iter != languages.end(); iter++) {
index 5144be0..7f1da3b 100644 (file)
@@ -95,7 +95,7 @@ class  HelixControl {
 
   private:
     std::string dumpFile; // Path of the generated testcase
-    ofgzstream *file;
+    std::ofstream *file;
 
   public:
     HelixControl (const std::string & controlPath,