You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Many posix platforms should use readdir instead of readdir_r #40021
Linux now deprecates readdir_r (see https://lwn.net/Articles/696474/ for the reasons for this deprecation), and Fuchsia doesn't implement it at all. There's already a configure switch in src/libstd/sys/unix/fs.rs, but it only selects readdir for Illumos.
The config should be switched to readdir at least for Fuchsia, and arguably for a number of other Posix-compatible systems as well. Sifting through exactly which should be which is beyond my scope, so I entrust this to the rust-libs community.
Activity
Make readdir available on all unix targets
Switch Fuchsia to readdir (instead of readdir_r)
Switch Fuchsia to readdir (instead of readdir_r)
Auto merge of #533 - raphlinus:master, r=alexcrichton
Rollup merge of rust-lang#40024 - raphlinus:readdir, r=alexcrichton
Rollup merge of rust-lang#40024 - raphlinus:readdir, r=alexcrichton
Rollup merge of rust-lang#40024 - raphlinus:readdir, r=alexcrichton
fs: Use readdir() instead of readdir_r() on Linux
Rollup merge of rust-lang#92778 - tavianator:linux-readdir-no-r, r=jo…
fs: Use readdir() instead of readdir_r() on Linux
Rollup merge of rust-lang#92778 - tavianator:linux-readdir-no-r, r=jo…
Rollup merge of rust-lang#92778 - tavianator:linux-readdir-no-r, r=jo…