Skip to content

uucore(quoting_style): Improve quoting style handling#8271

Merged
sylvestre merged 1 commit into
uutils:mainfrom
RenjiSann:quoting-simplify
Jun 26, 2025
Merged

uucore(quoting_style): Improve quoting style handling#8271
sylvestre merged 1 commit into
uutils:mainfrom
RenjiSann:quoting-simplify

Conversation

@RenjiSann

Copy link
Copy Markdown
Collaborator

This MR introduces constants for quoting styles to simplify the declaration of quoting style variables throughout the codebase.

It also changes the interface of escape_name family of function to take QuotingStyle instead of &QuotingStyle as a parameter, because the struct implements Copy anyway

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@sylvestre

Copy link
Copy Markdown
Contributor

much better!

@sylvestre sylvestre merged commit 507e1cc into uutils:main Jun 26, 2025
116 of 117 checks passed
@RenjiSann RenjiSann deleted the quoting-simplify branch June 26, 2025 15:39
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.

2 participants