From 35b2ddf58d50f24351f7d1956393ec01a8521cdd Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sat, 6 Sep 1997 23:51:32 +0000 Subject: I hate static buffer sizes! Prolongue the max length of a line to 8K (from 1K which a patch in ports/print/ghostscript5 had a line longer than). --- usr.bin/patch/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/patch/common.h b/usr.bin/patch/common.h index e1a448ce974..2399724954a 100644 --- a/usr.bin/patch/common.h +++ b/usr.bin/patch/common.h @@ -1,4 +1,4 @@ -/* $OpenBSD: common.h,v 1.7 1997/06/24 02:33:48 dgregor Exp $ */ +/* $OpenBSD: common.h,v 1.8 1997/09/06 23:51:31 niklas Exp $ */ #define DEBUGGING @@ -50,7 +50,7 @@ #define MAXHUNKSIZE 100000 /* is this enough lines? */ #define INITHUNKMAX 125 /* initial dynamic allocation size */ -#define MAXLINELEN 1024 +#define MAXLINELEN 8192 #define BUFFERSIZE 1024 #define SCCSPREFIX "s." -- cgit v1.2.3