code: plan9front

Download patch

ref: 87de3d34335e20fdb2ad2c471f89173aa6610193
parent: 469fa904d034f3248abf31bde2c0b44e25242b0a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 11:10:39 EDT 2023

imap4d: use IOUNIT for Bufsize

--- a/sys/src/cmd/upas/imap4d/imap4d.h
+++ b/sys/src/cmd/upas/imap4d/imap4d.h
@@ -23,7 +23,7 @@
 enum
 {
 	Stralloc		= 32,		/* characters allocated at a time */
-	Bufsize		= 8*1024,	/* size of transfer block */
+	Bufsize		= IOUNIT,	/* size of transfer block */
 	Ndigest		= 40,		/* length of digest string */
 	Nuid		= 10,		/* length of .imp uid string */
 	Nflags		= 8,		/* length of .imp flag string */