diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-20 18:26:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-20 18:26:06 +0200 |
| commit | 2443cf2c6a1b850c19e0de2b6fdc7f1ee250a7d0 (patch) | |
| tree | ff4fe74acd18b4d4edb4f21ca5075bcd0d00aeb7 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 41235ef98a01eae0e9ad56e576fcc04d93c43ac0 (diff) | |
| parent | cff3f1e8d52a1bd6340362cbe7689dd6fa4f72e1 (diff) | |
| download | rust-2443cf2c6a1b850c19e0de2b6fdc7f1ee250a7d0.tar.gz rust-2443cf2c6a1b850c19e0de2b6fdc7f1ee250a7d0.zip | |
Rollup merge of #96234 - goffrie:eloop, r=thomcc
remove_dir_all_recursive: treat ELOOP the same as ENOTDIR On older Linux kernels (I tested on 4.4, corresponding to Ubuntu 16.04), opening a symlink using `O_DIRECTORY | O_NOFOLLOW` returns `ELOOP` instead of `ENOTDIR`. We should handle it the same, since a symlink is still not a directory and needs to be `unlink`ed.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
