From 7bfe75eb886c771652273199ee759e4d63157712 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sun, 7 May 2017 18:02:03 +0100 Subject: [PATCH] uip/picksbr.c: Increase line-buffer size for "grep" action. Alter LBSIZE from 1024 to NMH_BUFSIZ, e.g. 8192. This dominates the size of the char array used to hold a single unfolded header line when evaluating a "grep" action, e.g. `-to foo' becomes `^to[ ^I]*:.*foo'. --- uip/picksbr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/picksbr.c b/uip/picksbr.c index 21cdb2ca..02be1408 100644 --- a/uip/picksbr.c +++ b/uip/picksbr.c @@ -62,7 +62,7 @@ DEFINE_SWITCH_ARRAY(PARSE, parswit); #define STAR 01 -#define LBSIZE 1024 +#define LBSIZE NMH_BUFSIZ #define ESIZE 1024 -- 2.56.0