summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/environ.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2015-05-08 12:15:51 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2015-05-08 12:15:51 +0000
commitb0aa2a1ff4f535b1c42884d2dc1142cc6b9402ba (patch)
tree6cc7d71fed1c72547d29774793df89a7985e1189 /usr.bin/tmux/environ.c
parent8cad269f183023ebb4107b587fd55edadbf0c487 (diff)
Separately track the number of items in alloc_table in a variable. With
the changes for handling template files in r1.293, alloc_table became a pointer to an array of structs (rather than the array itself), so nitems(alloc_table) no longer returns the number of elements. As found by sebastia@, autosize would only try the first allocation scheme, so installation would fail on small disks. ok henning@
Diffstat (limited to 'usr.bin/tmux/environ.c')
0 files changed, 0 insertions, 0 deletions