diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-12-10 14:23:15 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-12-10 14:23:15 -0500 |
commit | 23a4c2369ac1007e170eaa3089b60b66392bb114 (patch) | |
tree | dd1898e33451fa5167e12da738452837b37a9fd6 /util.h | |
parent | 26c0bb082ca1c03aa4eb788385d4fecf7cc46a6b (diff) | |
download | bfs-23a4c2369ac1007e170eaa3089b60b66392bb114.tar.xz |
stat: Work around GNU Hurd bug
fstatat(fd, "", buf, AT_EMPTY_PATH) fails with a nonsense errno on Hurd.
Since fstat() itself works fine, just use that.
Link: https://lists.gnu.org/archive/html/bug-hurd/2021-12/msg00001.html
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions