shithub: riscv

Download patch

ref: 7d7e8ae31ac01434c7017afce4eb0a033281a757
parent: e55cb65c247a9cdfa0528d34dec70d435898d098
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 08:01:43 EDT 2023

cc: use IOUNIT for BUFSIZ

--- a/sys/src/cmd/cc/cc.h
+++ b/sys/src/cmd/cc/cc.h
@@ -19,7 +19,7 @@
 typedef	struct	Bits	Bits;
 
 #define	NHUNK		50000L
-#define	BUFSIZ		8192
+#define	BUFSIZ		IOUNIT
 #define	NSYMB		1500
 #define	NHASH		1024
 #define	STRINGSZ	200