Skip to content

Many posix platforms should use readdir instead of readdir_r #40021

Closed

Description

@raphlinus

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

  1. added a commit that references this issue on Feb 22, 2017
  2. added a commit that references this issue on Feb 22, 2017
    7e544c2
  3. added 2 commits that reference this issue on Feb 25, 2017
    a9a4f5a
    32af4ce
  4. added a commit that references this issue on Jan 11, 2022
  5. added a commit that references this issue on Jan 14, 2022
  6. added a commit that references this issue on Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions