From f87ec74bb3103f68f4e8b6f34098e09cbd1b306d Mon Sep 17 00:00:00 2001 From: daanx Date: Sun, 2 Jun 2024 15:10:17 -0700 Subject: [PATCH] reduce delayed output from redirection to 16KiB to reduce the .bss size --- src/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.c b/src/options.c index 32fa212b..462a7c71 100644 --- a/src/options.c +++ b/src/options.c @@ -200,7 +200,7 @@ static void mi_cdecl mi_out_stderr(const char* msg, void* arg) { // an output function is registered it is called immediately with // the output up to that point. #ifndef MI_MAX_DELAY_OUTPUT -#define MI_MAX_DELAY_OUTPUT ((size_t)(32*1024)) +#define MI_MAX_DELAY_OUTPUT ((size_t)(16*1024)) #endif static char out_buf[MI_MAX_DELAY_OUTPUT+1]; static _Atomic(size_t) out_len;