shithub: riscv

Download patch

ref: 1db8008a2e6cb44b6b14d015ad1ee058a49a7a09
parent: dbba80166456ce2797f776646595781d50f0145e
author: kemal <[email protected]>
date: Sat Sep 23 19:52:39 EDT 2023

rc: use IOUNIT for io NBUF

--- a/sys/src/cmd/rc/io.c
+++ b/sys/src/cmd/rc/io.c
@@ -4,7 +4,7 @@
 #include "fns.h"
 
 enum {
-	NBUF = 8192,
+	NBUF = IOUNIT,
 };
 
 void
--- a/sys/src/cmd/rc/rc.h
+++ b/sys/src/cmd/rc/rc.h
@@ -19,6 +19,7 @@
 #ifndef NSIG
 #define NSIG 32
 #endif
+#define IOUNIT	32768
 #endif
 
 #define	YYMAXDEPTH	500