HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7993c14
)
* apt-pkg/deb/dpkgpm.cc:
author
Michael Vogt
<michael.vogt@ubuntu.com>
Tue, 31 Oct 2006 19:06:34 +0000
(20:06 +0100)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Tue, 31 Oct 2006 19:06:34 +0000
(20:06 +0100)
- reset the line if a invalid line was read
apt-pkg/deb/dpkgpm.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/deb/dpkgpm.cc
b/apt-pkg/deb/dpkgpm.cc
index
4c44cd0
..
c7a6b92
100644
(file)
--- 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;
}