diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2015-05-08 12:15:51 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2015-05-08 12:15:51 +0000 |
commit | b0aa2a1ff4f535b1c42884d2dc1142cc6b9402ba (patch) | |
tree | 6cc7d71fed1c72547d29774793df89a7985e1189 /usr.bin/tmux/cmd-command-prompt.c | |
parent | 8cad269f183023ebb4107b587fd55edadbf0c487 (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/cmd-command-prompt.c')
0 files changed, 0 insertions, 0 deletions