Bug#192355: Patch to solve the problem
Hello,
I'm including one patch to solve the problem.
Changelog entry:
* Fix infinite loop when using apt-get -V install. Closes: #131779
Patch fallowing:
Index: cmdline/apt-get.cc
===================================================================
RCS file: /cvs/deity/apt/cmdline/apt-get.cc,v
retrieving revision 1.129
diff -u -r1.129 apt-get.cc
--- cmdline/apt-get.cc 27 Apr 2003 05:59:33 -0000 1.129
+++ cmdline/apt-get.cc 8 May 2003 01:21:22 -0000
@@ -183,6 +183,9 @@
string(VersionsList,VersionsStart,VersionsEnd - VersionsStart) <<
")" << endl;
+ if (End == string::npos || End < Start)
+ End = Start + ScreenWidth;
+
Start = End + 1;
VersionsStart = VersionsEnd + 1;
} else {
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio@debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
Reply to: