shithub: riscv

Download patch

ref: a9d4e5967cb7ddd34d2e6f0826ca6a38deb3b35f
parent: f537ba5bea082b71439c57b63d365c5d62c755c5
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 11:35:39 EDT 2023

vac: use IOUNIT reading files

--- a/sys/src/cmd/vac/vac.c
+++ b/sys/src/cmd/vac/vac.c
@@ -562,7 +562,7 @@
 {
 	vlong off;
 	VacFile *f;
-	static char buf[8192];
+	static char buf[IOUNIT];
 	int n;
 
 	if((f = vacfilecreate(fp, name, 0666)) == nil){