From a13e90fd1c1f2809d60f61c1d16a3cf4ebba18c9 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 25 Jul 2007 09:29:23 +0200 Subject: * apt/package.py: * apt/cache.py: * python/indexfile.cc: - increase str buffer in PackageIndexFileRepr --- debian/changelog | 8 +++++--- python/indexfile.cc | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5052d867..37df62a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,12 +1,12 @@ python-apt (0.7.3) unstable; urgency=low - * python/package.py: + * apt/package.py: - added Record class that can be accessed like a dictionary and return it in candidateRecord and installedRecord (thanks to Alexander Sack for discussing this with me) * doc/examples/records.py: - added example how to use the new Records class - * python/cache.py: + * apt/cache.py: - throw FetchCancelleException, FetchFailedException, LockFailedException exceptions when something goes wrong * aptsources/distro.py: @@ -17,8 +17,10 @@ python-apt (0.7.3) unstable; urgency=low - updated for python-distutils-extra (>= 1.9.0) * debian/python-apt.install: - fix i18n files + * python/indexfile.cc: + - increase str buffer in PackageIndexFileRepr - -- Michael Vogt Mon, 02 Jul 2007 18:33:36 +0200 + -- python-apt (0.7.2) unstable; urgency=low diff --git a/python/indexfile.cc b/python/indexfile.cc index ef6ffc8a..4e32f2ab 100644 --- a/python/indexfile.cc +++ b/python/indexfile.cc @@ -56,7 +56,7 @@ static PyObject *PackageIndexFileRepr(PyObject *Self) { pkgIndexFile *File = GetCpp(Self); - char S[300]; + char S[1024]; snprintf(S,sizeof(S),"