From 3e3b5cc1d0a560d5de47aff48eaafa923cdc29df Mon Sep 17 00:00:00 2001 From: Daniel Beer Date: Tue, 15 Mar 2011 16:08:57 +1300 Subject: [PATCH] Increased size of output formatting buffer. --- output.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/output.c b/output.c index c3baac4..30e97e9 100644 --- a/output.c +++ b/output.c @@ -25,7 +25,7 @@ #include "output.h" struct outbuf { - char buf[1024]; + char buf[4096]; int len; int in_code; }; @@ -70,7 +70,7 @@ static int write_text(struct outbuf *out, const char *buf, FILE *fout) int printc(const char *fmt, ...) { - char buf[1024]; + char buf[4096]; va_list ap; va_start(ap, fmt); @@ -82,7 +82,7 @@ int printc(const char *fmt, ...) int printc_dbg(const char *fmt, ...) { - char buf[1024]; + char buf[4096]; va_list ap; if (opdb_get_boolean("quiet")) @@ -97,7 +97,7 @@ int printc_dbg(const char *fmt, ...) int printc_err(const char *fmt, ...) { - char buf[1024]; + char buf[4096]; va_list ap; va_start(ap, fmt);