Skip to content

os: on Unix, Readdirnames skips directory entries with zero inodes [1.24 backport] #76624

@gopherbot

Description

@gopherbot

@vasi requested issue #76428 to be considered for backport to the next 1.24 minor release.

@gopherbot please consider this for backport to 1.24.x

Rationale: It's a fairly serious problem to many programs if files simply appear to be missing, one could easily imagine it causing corruption. And working around this bug is fairly difficult, it would require a program to write its own direntry-parsing, which is unlikely to be as robust as Go's standard library.

See:

Metadata

Metadata

Assignees

No one assigned

    Labels

    CherryPickCandidateUsed during the release process for point releases

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions