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

ls: Fix padding for dangling links in non-Long formats #2856

Merged
merged 8 commits into from
Jan 11, 2022
Merged

ls: Fix padding for dangling links in non-Long formats #2856

merged 8 commits into from
Jan 11, 2022

Conversation

kimono-koans
Copy link
Contributor

Padding is incorrect for dangling links/restricted files in non-Long formats. Here, we forward the longest_link_len to display_file_name to create a properly sized Cell. Includes a test.

Copy link
Member

@tertsdiepraam tertsdiepraam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Great work!

@sylvestre sylvestre merged commit 016d5e7 into uutils:master Jan 11, 2022
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.

3 participants