Increased size of output formatting buffer.

This commit is contained in:
Daniel Beer 2011-03-15 16:08:57 +13:00
parent 21dab55de1
commit 3e3b5cc1d0
1 changed files with 4 additions and 4 deletions

View File

@ -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);