summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-07-21 11:01:59 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-07-21 11:01:59 +0200
commit8953292ef197b80c16d08b31830945fb7ac9ff8d (patch)
tree335ab6f5a8bf6822c13563d1218d7b3f75a029c1
parenta381270a2ec3d8a1d83a780db42ded01a80f59a2 (diff)
* merged changes from Kamions upload (thanks!)
-rw-r--r--apt-pkg/depcache.cc1
-rw-r--r--debian/changelog6
2 files changed, 7 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());
diff --git a/debian/changelog b/debian/changelog
index e88ec1e37..297ce020b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+apt (0.6.44.2ubuntu3) edgy; urgency=low
+
+ * Close extended_states file after writing it.
+
+ -- Colin Watson <cjwatson@ubuntu.com> Tue, 18 Jul 2006 00:12:13 +0100
+
apt (0.6.44.2ubuntu2) edgy; urgency=low
* create a empty extended_states file if none exists already