git: 9front

Download patch

ref: 4d23085fd1d34ab820b098f24e1b15c64dc245ca
parent: 93a234d85dee729fc5dfccffa95d1b1e9097e499
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 07:41:16 EDT 2023

ar: use IOUNIT for streaming in files

--- a/sys/src/cmd/ar.c
+++ b/sys/src/cmd/ar.c
@@ -1087,7 +1087,7 @@
 {
 	Armember *bp;
 	int i;
-	char buf[8192];
+	char buf[IOUNIT];
 
 	if (ap->paged) {		/* copy from disk */
 		seek(ap->fd, 0, 0);
--