summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
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 /apt-pkg/depcache.cc
parenta381270a2ec3d8a1d83a780db42ded01a80f59a2 (diff)
* merged changes from Kamions upload (thanks!)
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());