summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-04-01 12:04:13 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-04-01 12:04:13 +0200
commit6d5bd6147e210bfb93e4ce0009d4e71c5995eab1 (patch)
treea35e8ca517213dfe005a1aa6bd0a07a832e7aea5 /apt-pkg/algorithms.cc
parent93794bc92e8d2fd84c6e596e3238c31d0832c271 (diff)
Read and apply install/remove requests correctly
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r--apt-pkg/algorithms.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc
index 00f558420..aabb511a2 100644
--- a/apt-pkg/algorithms.cc
+++ b/apt-pkg/algorithms.cc
@@ -743,10 +743,8 @@ bool pkgProblemResolver::Resolve(bool BrokenFix)
if (solver != "internal")
{
FILE* output = fopen("/tmp/scenario.log", "w");
- EDSP::WriteScenario(Cache, output);
- fclose(output);
- output = fopen("/tmp/request.log", "w");
EDSP::WriteRequest(Cache, output);
+ EDSP::WriteScenario(Cache, output);
fclose(output);
if (ResolveInternal(BrokenFix) == false)
return false;