Larger line buffer, #106591
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:58:34 +0000 (16:58 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:58:34 +0000 (16:58 +0000)
Author: jgg
Date: 2001-07-26 06:15:59 GMT
Larger line buffer, #106591

apt-pkg/deb/deblistparser.cc

index 1d2c426..269b474 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: deblistparser.cc,v 1.26 2001/05/27 05:42:36 jgg Exp $
+// $Id: deblistparser.cc,v 1.27 2001/07/26 06:15:59 jgg Exp $
 /* ######################################################################
    
    Package Cache Generator - Generator for the cache structure.
@@ -152,7 +152,7 @@ unsigned short debListParser::VersionHash()
                             "Conflicts",
                             "Replaces",0};
    unsigned long Result = INIT_FCS;
-   char S[300];
+   char S[1024];
    for (const char **I = Sections; *I != 0; I++)
    {
       const char *Start;
@@ -173,7 +173,7 @@ unsigned short debListParser::VersionHash()
         if (*Start == '>' && Start[1] != '>' && Start[1] != '=')
            *I++ = '=';
       }
-      
+
       Result = AddCRC16(Result,S,I - S);
    }