diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-01-29 14:08:58 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-01-29 14:20:03 -0500 |
commit | 3ce57045c9e83b8475b0f69e2110b3d04c08d6ec (patch) | |
tree | 81c29c19735f5fd45c58c7fc7a9cc8513ea4b8e6 /bfs.h | |
parent | 60efbc7695cc4adcd96a2a8d9bb326124bc5d817 (diff) | |
download | bfs-3ce57045c9e83b8475b0f69e2110b3d04c08d6ec.tar.xz |
bftw: Share the fd between the cache and open bfs_dir
This avoids many dup()s. On Linux, we can completely avoid needing to
dup() directory fds. On non-Linux, we only dup() when there are
unexplored subdirectories.
Diffstat (limited to 'bfs.h')
0 files changed, 0 insertions, 0 deletions