@@ -1,3 +1,8 @@
+Sun Jan 7 14:31:38 CST 2001 Adam Heath <doogie@debian.org>
+
+ * lib/dbmodify.c: After N calls(which does a checkpoint()), reset
+ the counter.
Sun Jan 7 14:27:57 CST 2001 Adam Heath <doogie@debian.org>
* include/dpkg-db.h: Forgot the status-pipe struct.
@@ -260,7 +260,10 @@ void modstatdb_note(struct pkginfo *pkg) {
nextupdate++;
- if (nextupdate > MAXUPDATES) checkpoint();
+ if (nextupdate > MAXUPDATES) {
+ checkpoint();
+ nextupdate= 0;
+ }
createimptmp();