shithub: riscv

Download patch

ref: 0b093ef579be545e820491411b6f80aee40596a0
parent: 0b6db22b46b521073d0163f77a8dce74c72c02c2
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun May 18 13:22:24 EDT 2025

sed: increase input line size to 32k (was 8k)

--- a/sys/src/cmd/sed.c
+++ b/sys/src/cmd/sed.c
@@ -11,7 +11,7 @@
 	MAXCMDS		= 512,		/* max sed commands */
 	ADDSIZE		= 10000,	/* size of add & read buffer */
 	MAXADDS		= 20,		/* max pending adds and reads */
-	LBSIZE		= 8192,		/* input line size */
+	LBSIZE		= 32768,	/* input line size */
 	LABSIZE		= 50,		/* max number of labels */
 	MAXSUB		= 10,		/* max number of sub reg exp */
 	MAXFILES	= 120,		/* max output files */
--