artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b2f1f3
)
Use a more sensible buffer size for flags string.
author
nicm
<nicm@openbsd.org>
Mon, 20 Apr 2015 07:50:49 +0000
(07:50 +0000)
committer
nicm
<nicm@openbsd.org>
Mon, 20 Apr 2015 07:50:49 +0000
(07:50 +0000)
usr.bin/tmux/window.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/window.c
b/usr.bin/tmux/window.c
index
0d7832d
..
64ad833
100644
(file)
--- a/
usr.bin/tmux/window.c
+++ b/
usr.bin/tmux/window.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: window.c,v 1.11
8 2015/04/19 21:34:21
nicm Exp $ */
+/* $OpenBSD: window.c,v 1.11
9 2015/04/20 07:50:49
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@
-650,7
+650,7
@@
window_destroy_panes(struct window *w)
char *
window_printable_flags(struct session *s, struct winlink *wl)
{
- char flags[
BUFSIZ
];
+ char flags[
32
];
int pos;
pos = 0;