Skip to content

util: Properly escape strings passed to printf - #5463

Merged
tgross35 merged 1 commit into
rust-lang:mainfrom
tgross35:util-fix
Sep 4, 2026
Merged

tgross35 merged 1 commit into
rust-lang:mainfrom
tgross35:util-fix

Conversation

@tgross35

@tgross35 tgross35 commented Sep 4, 2026

Copy link
Copy Markdown
Member

Avoid an error when the commit message contains a word like "don't" that ends the '-quoted string.

Avoid an error when the commit message contains a word like "don't" that
ends the `'`-quoted string. Also fix a few lints.
@tgross35
tgross35 enabled auto-merge September 4, 2026 06:42
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Sep 4, 2026
@tgross35
tgross35 added this pull request to the merge queue Sep 4, 2026
Merged via the queue into rust-lang:main with commit 0cbe30a Sep 4, 2026
58 checks passed
@tgross35
tgross35 deleted the util-fix branch September 4, 2026 07:26
@tgross35 tgross35 mentioned this pull request Sep 17, 2026
renovate-bot pushed a commit to renovate-bot/rust-lang-_-libc that referenced this pull request Sep 17, 2026
Avoid an error when the commit message contains a word like "don't" that
ends the `'`-quoted string. Also fix a few lints.

(backport <rust-lang#5463>)
(cherry picked from commit 0cbe30a)
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-applied This PR has been cherry-picked to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants