about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-09-01 09:23:29 +0200
committerGitHub <noreply@github.com>2021-09-01 09:23:29 +0200
commit59588a9a5645b922bfd72668382e36b48faa1add (patch)
tree44d3183e5f7679c51c6d5649a873917176403aa5 /compiler/rustc_codegen_llvm/src
parentbbc94ed32982eb4a12a0778837e17581e885d59e (diff)
parent0e0c8aef87fe78c797a455d34e7490254f3d22b2 (diff)
downloadrust-59588a9a5645b922bfd72668382e36b48faa1add.tar.gz
rust-59588a9a5645b922bfd72668382e36b48faa1add.zip
Rollup merge of #88542 - tavianator:readdir_r-errno, r=jyn514
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