diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-07-09 16:35:38 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-07-09 16:35:38 -0400 |
commit | 2328d8dbb5a8c774afb99d363b6e98cd25ee304d (patch) | |
tree | 53822ecfebc872335e9b13f2fb255f0b2aa808d6 /util.h | |
parent | f4eed3b771a987ef441fea49ababc356a2933086 (diff) | |
download | bfs-2328d8dbb5a8c774afb99d363b6e98cd25ee304d.tar.xz |
Handle ENOTDIR the same as ENOENT
For a/b/c, ENOTDIR is returned instead of ENOENT if a or b are not
directories. Handle this uniformly when detecting broken symlinks,
readdir races, etc.
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions