summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-12-18 10:58:07 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-12-18 10:58:07 +0100
commit06d5520f0787f5fdb3fe0def435709054a26dbda (patch)
tree2bc1443fab6336b12e680127dab62b205816d623 /apt-pkg/deb/dpkgpm.cc
parent9c59aadaae0b6c1286608ad87b468e7463adf8d9 (diff)
apt-pkg/deb/dpkgpm.cc: fflush early
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r--apt-pkg/deb/dpkgpm.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 6984c64c1..8162405c7 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -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;