Sfoglia il codice sorgente

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

Michael Vogt 16 anni fa
parent
commit
06d5520f07
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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;