diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-07-21 11:01:59 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-07-21 11:01:59 +0200 |
commit | 8953292ef197b80c16d08b31830945fb7ac9ff8d (patch) | |
tree | 335ab6f5a8bf6822c13563d1218d7b3f75a029c1 /apt-pkg | |
parent | a381270a2ec3d8a1d83a780db42ded01a80f59a2 (diff) |
* merged changes from Kamions upload (thanks!)
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/depcache.cc | 1 |
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()); |