[zypp-commit] r11704 - /trunk/libzypp-testsuite/solver/src/deptestomatic.cc
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@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
gs@svn.opensuse.org