Loading...
stdio/FreeBSD/makebuf.c Libc-825.26 Libc-997.1.1
--- Libc/Libc-825.26/stdio/FreeBSD/makebuf.c
+++ Libc/Libc-997.1.1/stdio/FreeBSD/makebuf.c
@@ -47,7 +47,12 @@
 #include "libc_private.h"
 #include "local.h"
 
-#define MAXBUFSIZE	(1 << 16)
+#ifdef FEATURE_SMALL_STDIOBUF
+# define MAXBUFSIZE	(1 << 12)
+#else
+# define MAXBUFSIZE	(1 << 16)
+#endif
+
 #define TTYBUFSIZE	4096
 
 /*