aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ed.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2017-09-01 12:05:06 -0400
committerRuss Cox <rsc@swtch.com>2017-09-01 12:06:25 -0400
commita9e20eb10a5759dd7ad15b7a136ef9363ec2527b (patch)
tree76fce5e81c88160feed625eebe5091f2b7b86117 /src/cmd/ed.c
parenta5632a13a089c628d07e3ea1403253e24e22d0a8 (diff)
downloadplan9port-a9e20eb10a5759dd7ad15b7a136ef9363ec2527b.tar.gz
plan9port-a9e20eb10a5759dd7ad15b7a136ef9363ec2527b.tar.bz2
plan9port-a9e20eb10a5759dd7ad15b7a136ef9363ec2527b.zip
ed: allow larger temp files
Requested by rob.
Diffstat (limited to 'src/cmd/ed.c')
-rw-r--r--src/cmd/ed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/ed.c b/src/cmd/ed.c
index 79b90e7e..788b35be 100644
--- 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 */