aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-10-03 12:01:25 +0100
committerThomas Adam <thomas@xteddy.org>2019-10-03 12:01:25 +0100
commiteeedb43ae847a0a692ceea965f7556e84bca4fd0 (patch)
treec50e0f1d8d680b15424573b326bdcbb91c4f2646 /tty-term.c
parent8cf21feefd994dd023b50668e9202b3d888a8c1e (diff)
parentf4c7141f5d2abd06bb90443ad9edc7c1a985eb40 (diff)
downloadrtmux-eeedb43ae847a0a692ceea965f7556e84bca4fd0.tar.gz
rtmux-eeedb43ae847a0a692ceea965f7556e84bca4fd0.tar.bz2
rtmux-eeedb43ae847a0a692ceea965f7556e84bca4fd0.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty-term.c b/tty-term.c
index 182edd7d..c7c3d11f 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -281,7 +281,7 @@ static char *
tty_term_strip(const char *s)
{
const char *ptr;
- static char buf[BUFSIZ];
+ static char buf[8192];
size_t len;
/* Ignore strings with no padding. */
@@ -309,7 +309,7 @@ tty_term_strip(const char *s)
static char *
tty_term_override_next(const char *s, size_t *offset)
{
- static char value[BUFSIZ];
+ static char value[8192];
size_t n = 0, at = *offset;
if (s[at] == '\0')