Sfoglia il codice sorgente

* apt-pkg/tagfile.h:
- increase the buffer in tagfile.cc for now, this really needs to
become a dynamic buffer

Michael Vogt 20 anni fa
parent
commit
c407612f82
2 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 1 1
      apt-pkg/tagfile.h
  2. 2 0
      debian/changelog

+ 1 - 1
apt-pkg/tagfile.h

@@ -84,7 +84,7 @@ class pkgTagFile
    inline unsigned long Offset() {return iOffset;};
    bool Jump(pkgTagSection &Tag,unsigned long Offset);
 
-   pkgTagFile(FileFd *F,unsigned long Size = 64*1024);
+   pkgTagFile(FileFd *F,unsigned long Size = 128*1024);
    ~pkgTagFile();
 };
 

+ 2 - 0
debian/changelog

@@ -13,6 +13,8 @@ apt (0.6.46.1) unstable; urgency=low
     * fi.po: Updated to 514t. Closes: #390149
     * eu.po: Updated to 514t. Closes: #389725
     * vi.po: Updated to 514t. Closes: #388555
+  * use a bigger buffer in tagfile for now, this needs to 
+    become much more dynamic (closes: #388708)
   
  --