Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11704 - /trunk/libzypp-testsuite/solver/src/deptestomatic.cc
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Tue, 18 Nov 2008 09:48:00 -0000
  • Message-id: <20081118094800.E91E33A2A1@xxxxxxxxxxxxxxxx>
Author: gs
Date: Tue Nov 18 10:48:00 2008
New Revision: 11704

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11704&view=rev
Log:
load_source(): use pathname (instead of filename) to
read the XML file from local directory

Modified:
trunk/libzypp-testsuite/solver/src/deptestomatic.cc

Modified: trunk/libzypp-testsuite/solver/src/deptestomatic.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp-testsuite/solver/src/deptestomatic.cc?rev=11704&r1=11703&r2=11704&view=diff
==============================================================================
--- trunk/libzypp-testsuite/solver/src/deptestomatic.cc (original)
+++ trunk/libzypp-testsuite/solver/src/deptestomatic.cc Tue Nov 18 10:48:00 2008
@@ -660,9 +660,9 @@
string command;

if (str::endsWith(filename, ".gz")) {
- command = "zcat " + filename;
+ command = "zcat " + pathname.asString();
} else {
- command = "cat " + filename;
+ command = "cat " + pathname.asString();
}
FILE *fpHelix = popen( command.c_str(), "r" );
if (!fpHelix)

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages