diff options
| author | Tavian Barnes <tavianator@tavianator.com> | 2021-08-31 14:11:42 -0400 |
|---|---|---|
| committer | Tavian Barnes <tavianator@tavianator.com> | 2021-08-31 14:11:42 -0400 |
| commit | 0e0c8aef87fe78c797a455d34e7490254f3d22b2 (patch) | |
| tree | b07f8bcfb4682e70ed99c268542897b1e884ee6a /compiler/rustc_codegen_llvm/src | |
| parent | 76d18cfb8945f824c8777e04981e930d2037954e (diff) | |
| download | rust-0e0c8aef87fe78c797a455d34e7490254f3d22b2.tar.gz rust-0e0c8aef87fe78c797a455d34e7490254f3d22b2.zip | |
Use the return value of readdir_r() instead of errno
POSIX says: > If successful, the readdir_r() function shall return zero; otherwise, > an error number shall be returned to indicate the error. But we were previously using errno instead of the return value. This led to issue #86649.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
