Skip to content

Use snprintf instead of sprintf#1711

Merged
bakpakin merged 1 commit intojanet-lang:masterfrom
sogaiu:snprintf
Feb 14, 2026
Merged

Use snprintf instead of sprintf#1711
bakpakin merged 1 commit intojanet-lang:masterfrom
sogaiu:snprintf

Conversation

@sogaiu
Copy link
Contributor

@sogaiu sogaiu commented Feb 14, 2026

This PR replaces calls to sprintf with calls to snprintf instead.

None of the sprintf calls look problematic but since snprintf is used extensively in the rest of the codebase it seemed worth making these changes.

@bakpakin
Copy link
Member

LGTM!

@bakpakin bakpakin merged commit abd7bb1 into janet-lang:master Feb 14, 2026
13 checks passed
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