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

set st->st_size to 0 if the stat'd path is a directory. #228

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

BrianPugh
Copy link
Member

info.size is not valid for directories.

Addresses #227

@uqfus can you give this a try? I don't have access to my hardware right now, but might be able to test it tonight/tomorrow.

@BrianPugh BrianPugh merged commit f8385a5 into master Feb 27, 2025
9 checks passed
@BrianPugh BrianPugh deleted the directory-stat-size branch February 27, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant