diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-15 22:09:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-15 22:09:50 +0200 |
| commit | fbd63a93c3766a58a9e736a151a89795269572cf (patch) | |
| tree | 267796581e5533017ad901f1bdae155729c91ab2 /compiler/rustc_codegen_gcc/src | |
| parent | 98ab2b0e80c158466e6e5237f4da9245c0543046 (diff) | |
| parent | 572b42346482472736723fe433b417fe32a01800 (diff) | |
| download | rust-fbd63a93c3766a58a9e736a151a89795269572cf.tar.gz rust-fbd63a93c3766a58a9e736a151a89795269572cf.zip | |
Rollup merge of #146549 - asomers:freebsd-readdir, r=Mark-Simulacrum
On FreeBSD, use readdir instead of readdir_r readdir_r has the same problems on FreeBSD as it does on other platforms: it assumes a fixed NAME_MAX. And readdir has the same thread-safety guarantee as it does on other platforms: it's safe as long as only one thread tries to read from the directory stream at a given time. Furthermore, readdir_r is likely to be removed for FreeBSD 16, so we should stop using it now.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions
