ted: allow larger temp files - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit a9e20eb10a5759dd7ad15b7a136ef9363ec2527b
(DIR) parent a5632a13a089c628d07e3ea1403253e24e22d0a8
(HTM) Author: Russ Cox <rsc@swtch.com>
Date: Fri, 1 Sep 2017 12:05:06 -0400
ed: allow larger temp files
Requested by rob.
Diffstat:
M src/cmd/ed.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/ed.c b/src/cmd/ed.c
t@@ -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 */