From 418a471f144bc4e6d90d4b943169ac5c5336a0a8 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:58:34 +0000 Subject: [PATCH] Larger line buffer, #106591 Author: jgg Date: 2001-07-26 06:15:59 GMT Larger line buffer, #106591 --- apt-pkg/deb/deblistparser.cc | 6 +++--- 1 file 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); } -- 2.50.0