Author: schubi2
Date: Tue Feb 12 10:58:53 2008
New Revision: 8617
URL: http://svn.opensuse.org/viewcvs/zypp?rev=8617&view=rev
Log:
compressing control file too
Modified:
branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/Testcase.cc
branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/Testcase.h
Modified: branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/Testcase.cc
URL: http://svn.opensuse.org/viewcvs/zypp/branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/Testcase.cc?rev=8617&r1=8616&r2=8617&view=diff
==============================================================================
--- branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/Testcase.cc (original)
+++ branches/tmp/ma/jump_sat/libzypp/zypp/solver/detail/Testcase.cc Tue Feb 12 10:58:53 2008
@@ -344,7 +344,7 @@
// writing control file "*-test.xml"
- HelixControl control (dumpPath + "/solver-test.xml",
+ HelixControl control (dumpPath + "/solver-test.xml.gz",
repoTable,
ZConfig::instance().systemArchitecture(),
language);
@@ -404,7 +404,7 @@
const std::string & systemPath)
:dumpFile (controlPath)
{
- file = new ofstream(controlPath.c_str());
+ file = new ofgzstream(controlPath.c_str());
if (!file) {
ZYPP_THROW (Exception( "Can't open " + controlPath ) );
}
@@ -430,7 +430,7 @@
*file << TAB << " -->" << endl;
*file << TAB << "