]> git.saurik.com Git - apt.git/commitdiff
Increase ReadMessages buffer. #111914
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:59:14 +0000 (16:59 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:59:14 +0000 (16:59 +0000)
Author: jgg
Date: 2002-04-26 05:52:27 GMT
Increase ReadMessages buffer. #111914

apt-pkg/contrib/strutl.cc

index d01951914a9039da38c90fad41a0c4e642549f8c..f8fbf3212ace581fc6c43d9e5efefa6aa8c9a47e 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: strutl.cc,v 1.44 2001/06/08 05:16:39 jgg Exp $
+// $Id: strutl.cc,v 1.45 2002/04/26 05:52:27 jgg Exp $
 /* ######################################################################
 
    String Util - Some useful string functions.
@@ -622,7 +622,7 @@ string TimeRFC1123(time_t Date)
    fancy buffering is used. */
 bool ReadMessages(int Fd, vector<string> &List)
 {
-   char Buffer[4000];
+   char Buffer[64000];
    char *End = Buffer;
    
    while (1)