apt-pkg/deb/dpkgpm.cc: fflush early
authorMichael Vogt <michael.vogt@ubuntu.com>
Fri, 18 Dec 2009 09:58:07 +0000 (10:58 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Fri, 18 Dec 2009 09:58:07 +0000 (10:58 +0100)
apt-pkg/deb/dpkgpm.cc

index 6984c64..8162405 100644 (file)
@@ -610,6 +610,7 @@ bool pkgDPkgPM::OpenLog()
         fprintf(history_out, "Remove: %s\n", remove.c_str());
       if (purge.size() > 0)
         fprintf(history_out, "Purge: %s\n", purge.c_str());
+      fflush(history_out);
    }
    
    return true;