diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-09-06 23:51:32 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-09-06 23:51:32 +0000 |
commit | 35b2ddf58d50f24351f7d1956393ec01a8521cdd (patch) | |
tree | c0cafcf0072b3738b33af5cf5dd41236ca21260d | |
parent | cb812b0767f1a2cf9ab102c23eb5c13fa3db7c6b (diff) |
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).
-rw-r--r-- | usr.bin/patch/common.h | 4 |
1 files 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." |