From: Michael Vogt Date: Tue, 31 Oct 2006 19:06:34 +0000 (+0100) Subject: * apt-pkg/deb/dpkgpm.cc: X-Git-Tag: 0.7.21~296^2 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/7882f8fed5bc1232ec51b54b06bf86bfad3d4e18?hp=-c * apt-pkg/deb/dpkgpm.cc: - reset the line if a invalid line was read --- 7882f8fed5bc1232ec51b54b06bf86bfad3d4e18 diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 4c44cd01a..c7a6b921f 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -636,6 +636,8 @@ bool pkgDPkgPM::Go(int OutStatusFd) { if (_config->FindB("Debug::pkgDPkgProgressReporting",false) == true) std::clog << "ignoring line: not enough ':'" << std::endl; + // reset the line buffer + line[0]=0; continue; }