diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-01-13 12:42:42 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-01-13 12:42:42 -0500 |
commit | e9588c49d5539ded993f720fc6855d6fa878c997 (patch) | |
tree | d827157c37f59335252ba874fd41604984775471 /src/dir.c | |
parent | d6cae04b54c1d58223e1719101b7c54d348e8d80 (diff) | |
download | bfs-e9588c49d5539ded993f720fc6855d6fa878c997.tar.xz |
bfstd: New {error,errno}_is_like() functions
We used to have is_nonexistence_error() to consistently treat ENOENT and
ENOTDIR the same. Recently, we started considering EFAULT the same as
ENAMETOOLONG on DragonFly BSD to work around a kernel bug. Unify both
of these behind a more generic interface.
Diffstat (limited to 'src/dir.c')
0 files changed, 0 insertions, 0 deletions