diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-05-26 10:35:24 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-05-26 10:45:45 -0400 |
commit | 6fa72ff42d95dfd883d59ce7cf6bdc74abebf015 (patch) | |
tree | ba257f3e9dd30701d9c8d17024295e358c7d3a06 /src | |
parent | d26458b7235e70edf4ca57d8d8db70a01e1afbf4 (diff) | |
download | bfs-6fa72ff42d95dfd883d59ce7cf6bdc74abebf015.tar.xz |
tests/posix: Add a test for POSIX bug 1859
... which requires we process root paths strictly in-order.
Diffstat (limited to 'src')
-rw-r--r-- | src/bftw.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1485,7 +1485,8 @@ fail: /** Check if we should stat() a file asynchronously. */ static bool bftw_should_ioq_stat(struct bftw_state *state, struct bftw_file *file) { - // To avoid surprising users too much, process the roots in order + // POSIX wants the root paths to be processed in order + // See https://www.austingroupbugs.net/view.php?id=1859 if (file->depth == 0) { return false; } |