Parcourir la source

apt-pkg/deb/dpkgpm.cc: fflush early

Michael Vogt il y a 16 ans
Parent
commit
06d5520f07
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      apt-pkg/deb/dpkgpm.cc

+ 1 - 0
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;