]> diplodocus.org Git - nmh/commit
uip/picksbr.c: Increase line-buffer size for "grep" action.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 7 May 2017 17:02:03 +0000 (18:02 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 7 May 2017 17:02:03 +0000 (18:02 +0100)
commit7bfe75eb886c771652273199ee759e4d63157712
tree8278b94e29f43edf8801e0fcba286009298b6d98
parent2eea62e1e3ef4496c0a850250d6575a65a6f2f3d
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