Michael Vogt лет назад: 19
Родитель
Сommit
6cc61a1673
2 измененных файлов с 6 добавлено и 2 удалено
  1. 1 1
      apt-pkg/deb/debsrcrecords.cc
  2. 5 1
      debian/changelog

+ 1 - 1
apt-pkg/deb/debsrcrecords.cc

@@ -36,7 +36,7 @@ const char **debSrcRecordParser::Binaries()
    if (Bins.empty() == true || Bins.length() >= 102400)
    if (Bins.empty() == true || Bins.length() >= 102400)
       return 0;
       return 0;
    
    
-   if (Bins.length() > BufSize)
+   if (Bins.length() >= BufSize)
    {
    {
       delete [] Buffer;
       delete [] Buffer;
       // allocate new size based on buffer (but never smaller than 4000)
       // allocate new size based on buffer (but never smaller than 4000)

+ 5 - 1
debian/changelog

@@ -5,7 +5,11 @@ apt (0.6.46.4) unstable; urgency=low
     - added "Dpkg::StopOnError" variable that controls if apt
     - added "Dpkg::StopOnError" variable that controls if apt
       will abort on errors from dpkg
       will abort on errors from dpkg
   * apt-pkg/deb/debsrcrecords.{cc,h}:
   * apt-pkg/deb/debsrcrecords.{cc,h}:
-    - make the Buffer dynmaic
+    - make the Buffer grow dynmaically (closes: #400874)
+  * Merged from Christian Perrier bzr branch:
+    - uk.po: New Ukrainian translation: 483t28f3u
+    - el.po: Update to 503t9f2u
+    - de.po: Updates and corrections.
 
 
  --
  --