plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit a9e20eb10a5759dd7ad15b7a136ef9363ec2527b
parent a5632a13a089c628d07e3ea1403253e24e22d0a8
Author: Russ Cox <rsc@swtch.com>
Date:   Fri,  1 Sep 2017 12:05:06 -0400

ed: allow larger temp files

Requested by rob.

Diffstat:
Msrc/cmd/ed.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/ed.c b/src/cmd/ed.c @@ -13,7 +13,7 @@ enum FNSIZE = 128, /* file name */ LBSIZE = 4096, /* max line size */ BLKSIZE = 4096, /* block size in temp file */ - NBLK = 8191, /* max size of temp file */ + NBLK = 32767, /* max size of temp file */ ESIZE = 256, /* max size of reg exp */ GBSIZE = 256, /* max size of global command */ MAXSUB = 9, /* max number of sub reg exp */