diff options
author | 2014-05-13 05:50:24 +0000 | |
---|---|---|
committer | 2014-05-13 05:50:24 +0000 | |
commit | fb9a00c4886a50c2cf6d09c761dc72cdc3530214 (patch) | |
tree | d0153b250bea63199d1c5fd552fec1fbeef1492d /usr.bin/tmux/cmd-load-buffer.c | |
parent | All callers of helpfile() are #ifdef SMALL so only define that (diff) | |
download | wireguard-openbsd-fb9a00c4886a50c2cf6d09c761dc72cdc3530214.tar.xz wireguard-openbsd-fb9a00c4886a50c2cf6d09c761dc72cdc3530214.zip |
Since this is limited to ffs, use ufsinfo_t instead of ino_t.
Grow the array of cached inodes exponentially instead of arithmetically.
Prefer sizeof(*pointer) over sizeof(type) in mallocs.
Don't leak memory in searchdir().
Fix multiple bugs in the handling of indirect blocks, including reuse of
a static buffer in a recursive function and failure to track the remaining
size of the directory blocks to process
Tested with a directory *doubly* indirect block!
ok krw@
Diffstat (limited to 'usr.bin/tmux/cmd-load-buffer.c')
0 files changed, 0 insertions, 0 deletions