summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:58:34 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:58:34 +0000
commit418a471f144bc4e6d90d4b943169ac5c5336a0a8 (patch)
tree4f5528f6f0f1dcddcc1784bb971c131c2f949423 /apt-pkg/deb
parentae7a4bf3e23f71db819042ebce3dd678f1a06047 (diff)
Larger line buffer, #106591
Author: jgg Date: 2001-07-26 06:15:59 GMT Larger line buffer, #106591
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/deblistparser.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc
index 1d2c426d8..269b474b7 100644
--- a/apt-pkg/deb/deblistparser.cc
+++ b/apt-pkg/deb/deblistparser.cc
@@ -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);
}