summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-07-21 11:00:34 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-07-21 11:00:34 +0200
commita4decc40b3eb085ea994d2a8b31ee9cddfd570ff (patch)
treece380c79b925bacbe043d533fd610821e49dedd6 /apt-pkg/depcache.cc
parent9a9665f96e006602950e0e32ce80cb5ee14f5e5f (diff)
* apt-pkg/depcache.cc:
- close the outfile properly (thanks to kamion) * cmdline/apt-get.cc: - unbreak dselect-upgrade by adding a ActionGroup around it
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r--apt-pkg/depcache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index 25a4372bf..369eae70b 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -251,6 +251,7 @@ bool pkgDepCache::writeStateFile(OpProgress *prog)
fprintf(OutFile,"\n");
}
}
+ fclose(OutFile);
// move the outfile over the real file
rename(outfile.c_str(), state.c_str());