Skip to content

Fix failure on JFS filesystems #767

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 3, 2023
Merged

Fix failure on JFS filesystems #767

merged 1 commit into from
Feb 3, 2023

Conversation

hasufell
Copy link
Member

@hasufell hasufell commented Feb 3, 2023

No description provided.

Some filesystems always return DT_UNKNOWN for d_type, since
it's non-portable.

For those cases we use 'stat' to figure out the file type.

Similar to: ggreer/the_silver_searcher#37
@hasufell hasufell merged commit 6d46849 into master Feb 3, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant