about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-15 22:09:50 +0200
committerGitHub <noreply@github.com>2025-09-15 22:09:50 +0200
commitfbd63a93c3766a58a9e736a151a89795269572cf (patch)
tree267796581e5533017ad901f1bdae155729c91ab2 /compiler/rustc_codegen_gcc/src
parent98ab2b0e80c158466e6e5237f4da9245c0543046 (diff)
parent572b42346482472736723fe433b417fe32a01800 (diff)
downloadrust-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