From 2f9eb8dbb096730cf889f7fd0e0579aa9a5607b9 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 20 Aug 2012 12:04:22 +0100 Subject: * ftparchive/override.cc: - Double maximum override line length to 1000 (LP: #1038961). --- ftparchive/override.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ftparchive') diff --git a/ftparchive/override.cc b/ftparchive/override.cc index 760c20120..af8ec3a8f 100644 --- a/ftparchive/override.cc +++ b/ftparchive/override.cc @@ -34,7 +34,7 @@ bool Override::ReadOverride(string const &File,bool const &Source) if (F == 0) return _error->Errno("fopen",_("Unable to open %s"),File.c_str()); - char Line[500]; + char Line[1000]; unsigned long long Counter = 0; while (fgets(Line,sizeof(Line),F) != 0) { @@ -142,7 +142,7 @@ bool Override::ReadExtraOverride(string const &File,bool const &Source) if (F == 0) return _error->Errno("fopen",_("Unable to open %s"),File.c_str()); - char Line[500]; + char Line[1000]; unsigned long long Counter = 0; while (fgets(Line,sizeof(Line),F) != 0) { -- cgit v1.2.3