Skip to content

fix(utility): Fix edge case behavior of vsnprintf, vswprintf for VC6 builds#1375

Merged
xezon merged 3 commits intoTheSuperHackers:mainfrom
xezon:xezon/fix-vsnprintf
Jul 30, 2025
Merged

fix(utility): Fix edge case behavior of vsnprintf, vswprintf for VC6 builds#1375
xezon merged 3 commits intoTheSuperHackers:mainfrom
xezon:xezon/fix-vsnprintf

Conversation

@xezon
Copy link

@xezon xezon commented Jul 28, 2025

This change fixes the edge case behavior of vsnprintf, vswprintf for VC6 builds.

It also makes it more forgiving when misused because it no longer writes the null terminator always.

Also adjusts the white space to tabs.

@xezon xezon added Minor Severity: Minor < Major < Critical < Blocker Fix Is fixing something, but is not user facing labels Jul 28, 2025
Copy link

@Mauller Mauller 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

@xezon xezon merged commit 3e7d783 into TheSuperHackers:main Jul 30, 2025
14 checks passed
@xezon xezon deleted the xezon/fix-vsnprintf branch July 30, 2025 16:34
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Nov 10, 2025
fbraz3 pushed a commit to fbraz3/GeneralsX that referenced this pull request Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Is fixing something, but is not user facing Minor Severity: Minor < Major < Critical < Blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants