code: plan9front

Download patch

ref: 38ea1ac105f4484f02bba3bfbc790ebe4f18f016
parent: 5030157da9e89da53739b13c36942a5355de669f
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 19:40:11 EDT 2023

libbio: bump Bsize to IOUNIT

--- a/sys/include/ape/bio.h
+++ b/sys/include/ape/bio.h
@@ -14,7 +14,7 @@
 
 enum
 {
-	Bsize		= 8*1024,
+	Bsize		= IOUNIT,
 	Bungetsize	= UTFmax+1,	/* space for ungetc */
 	Bmagic		= 0x314159,
 	Beof		= -1,
--- a/sys/include/bio.h
+++ b/sys/include/bio.h
@@ -6,7 +6,7 @@
 
 enum
 {
-	Bsize		= 8192,
+	Bsize		= IOUNIT,
 	Bungetsize	= UTFmax+1,	/* space for ungetc */
 	Bmagic		= 0x314159,
 	Beof		= -1,