Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
glob: fix wrong return code when aborting before any matches
when the result count was zero, glob was ignoring a possible GLOB_ABORTED error code and returning GLOB_NOMATCH. whether this happened could be nondeterministic and dependent on the order of dirent enumeration, in cases where multiple matches were present and only some produced errors. caught by Tor's test_util_glob.
- Loading branch information