Skip to content

ls: decouple ACL-marker separator from link-count width (#11790)#11813

Draft
sylvestre wants to merge 1 commit intouutils:mainfrom
sylvestre:ls-perm-column-width
Draft

ls: decouple ACL-marker separator from link-count width (#11790)#11813
sylvestre wants to merge 1 commit intouutils:mainfrom
sylvestre:ls-perm-column-width

Conversation

@sylvestre
Copy link
Copy Markdown
Contributor

No description provided.

The `+`/`.` ACL / security-context marker shares a column with the
space that separates permissions from the link count. Previously
that separator was implemented by inflating `padding.link_count` by
one when any listed entry had an alt-access marker, conflating two
unrelated columns.

Emit the separator space explicitly between the marker character and
the link-count field instead. `padding.link_count` now reflects only
the width of the link-count digits. No user-visible output change.
@sylvestre sylvestre force-pushed the ls-perm-column-width branch from 4375fa7 to 5d6ccaa Compare April 20, 2026 22:24
@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/symlink (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/printf/printf-surprise is now being skipped but was previously passing.
Note: The gnu test tests/tail/tail-n0f is now being skipped but was previously passing.
Congrats! The gnu test tests/cut/cut-huge-range is now passing!
Congrats! The gnu test tests/tail/pipe-f is now passing!

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