Преглед на файлове

* merged changes from Kamions upload (thanks!)

Michael Vogt преди 20 години
родител
ревизия
8953292ef1
променени са 2 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 1 0
      apt-pkg/depcache.cc
  2. 6 0
      debian/changelog

+ 1 - 0
apt-pkg/depcache.cc

@@ -251,6 +251,7 @@ bool pkgDepCache::writeStateFile(OpProgress *prog)
 	 fprintf(OutFile,"\n");
 	 fprintf(OutFile,"\n");
       }
       }
    }
    }
+   fclose(OutFile);
 
 
    // move the outfile over the real file
    // move the outfile over the real file
    rename(outfile.c_str(), state.c_str());
    rename(outfile.c_str(), state.c_str());

+ 6 - 0
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
 apt (0.6.44.2ubuntu2) edgy; urgency=low
 
 
   * create a empty extended_states file if none exists already
   * create a empty extended_states file if none exists already