about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-08-31 14:11:42 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-08-31 14:11:42 -0400
commit0e0c8aef87fe78c797a455d34e7490254f3d22b2 (patch)
treeb07f8bcfb4682e70ed99c268542897b1e884ee6a /compiler/rustc_codegen_llvm/src
parent76d18cfb8945f824c8777e04981e930d2037954e (diff)
downloadrust-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