* [9front] rc: use IOUNIT for io NBUF
@ 2023-09-24 0:00 kemal
0 siblings, 0 replies; only message in thread
From: kemal @ 2023-09-24 0:00 UTC (permalink / raw)
To: 9front
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: rc.patch --]
[-- Type: application/octet-stream, Size: 515 bytes --]
From: kemal <kemalinanc8@gmail.com>
Date: Sat, 23 Sep 2023 23:52:39 +0000
Subject: [PATCH] rc: use IOUNIT for io NBUF
---
diff dbba80166456ce2797f776646595781d50f0145e dad1974329cb8f8365116a5cccf922a6e7c2d029
--- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-24 0:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-24 0:00 [9front] rc: use IOUNIT for io NBUF kemal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).