summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-pkg/deb/dpkgpm.cc2
-rw-r--r--debian/changelog18
2 files changed, 15 insertions, 5 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 9af7a0792..67291063c 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -656,7 +656,7 @@ bool pkgDPkgPM::OpenLog()
term_out = fopen(logfile_name.c_str(),"a");
if (term_out == NULL)
return _error->WarningE("OpenLog", _("Could not open file '%s'"), logfile_name.c_str());
-
+ setvbuf(term_out, NULL, _IONBF, 0);
chmod(logfile_name.c_str(), 0600);
fprintf(term_out, "\nLog started: %s\n", timestr);
}
diff --git a/debian/changelog b/debian/changelog
index f819908ad..d2491606c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,12 @@
-apt (0.7.26~exp8) UNRELEASED; urgency=low
+apt (0.7.26~exp9) UNRELEASEDexperimental; urgency=low
+
+ [ David Kalnischkies ]
+ * doc/apt.conf.5.xml:
+ - add and document APT::Cache-{Start,Grow,Limit} options for mmap control
+
+ -- Michael Vogt <mvo@debian.org> Fri, 09 Jul 2010 21:51:55 +0200
+
+apt (0.7.26~exp8) experimental; urgency=low
[ David Kalnischkies ]
* cmdline/cacheset.cc:
@@ -40,8 +48,10 @@ apt (0.7.26~exp8) UNRELEASED; urgency=low
* apt-pkg/pkgcachegen.{cc,h}:
- make the used MMap moveable (and therefore dynamic resizeable) by
applying (some) mad pointer magic (Closes: #195018)
- * doc/apt.conf.5.xml:
- - add and document APT::Cache-{Start,Grow,Limit} options for mmap control
+
+ [ Michael Vogt ]
+ * apt-pkg/deb/dpkgpm.cc:
+ - make the apt/term.log output unbuffered (thanks to Matt Zimmerman)
[ Julian Andres Klode ]
* methods/ftp.h:
@@ -57,7 +67,7 @@ apt (0.7.26~exp8) UNRELEASED; urgency=low
* debian/control:
- Set Standards-Version to 3.9.0
- -- David Kalnischkies <kalnischkies@gmail.com> Fri, 09 Jul 2010 16:55:53 +0200
+ -- Michael Vogt <mvo@debian.org> Fri, 09 Jul 2010 19:16:20 +0200
apt (0.7.26~exp7) experimental; urgency=low