Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scanner: don't skip directory entries with type DT_UNKNOWN #2703

Merged
merged 1 commit into from
May 3, 2024

Commits on May 1, 2024

  1. scanner: don't skip directory entries with type DT_UNKNOWN

    According to the readdir(2) man-page, not all file-systems support returning the
    entry's file-type in `d_type`.  For example, the reprotest reproducibility tool,
    uses the disorderfs FUSE file-system to shuffle the order in which directory
    entries are returned, and this does not set `d_type`.  Therefore, in addition to
    entries with type `DT_DIR` and `DT_LNK`, also process entries with type
    `DT_UNKNOWN`.
    
    Signed-off-by: Jeremy Sowden <azazel@debian.org>
    a3a3el committed May 1, 2024
    Configuration menu
    Copy the full SHA
    5a1ca77 View commit details
    Browse the repository at this point in the history