Skip to content

du: fix double-counting hard links across multiple arguments#10253

Closed
ChrisDryden wants to merge 2 commits intouutils:mainfrom
ChrisDryden:fix-du-hardlink-double-count
Closed

du: fix double-counting hard links across multiple arguments#10253
ChrisDryden wants to merge 2 commits intouutils:mainfrom
ChrisDryden:fix-du-hardlink-double-count

Conversation

@ChrisDryden
Copy link
Collaborator

Just needed to move the seen_inodes outside of the loop for arguments to solve this bug. Added an integration test to make sure this doesn't happen again in the future

@ChrisDryden
Copy link
Collaborator Author

Didn't realize this was already in the backlog: https://github.com/uutils/coreutils/pull/9211/changes

@ChrisDryden
Copy link
Collaborator Author

Going to follow this one: #10313

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