Bump the buffers used by the config file parser to 32k.

This allows really bug configuration files up to 32k. It would be better
to switch the global buffer to something allocated at runtime, but thats
non-trivial... This change should be save, since the buffers are global
(allocated in the BSS) and not included in savegames nor send over the
network.

Closes #582.
This commit is contained in:
Yamagi 2020-06-30 14:05:07 +02:00
parent 7439bdd45c
commit 06436d0d30

View file

@ -57,8 +57,8 @@ static char *cmd_argv[MAX_STRING_TOKENS];
static char *cmd_null_string = "";
static char cmd_args[MAX_STRING_CHARS];
sizebuf_t cmd_text;
byte cmd_text_buf[8192];
char defer_text_buf[8192];
byte cmd_text_buf[32768];
char defer_text_buf[32768];
/*
* Causes execution of the remainder of the command buffer to be delayed