Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use snprintf and vsnprintf everywhere instead of _snprintf and _vsnprintf #61

Closed
SamVanheer opened this issue Nov 18, 2021 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@SamVanheer
Copy link
Collaborator

SamVanheer commented Nov 18, 2021

snprintf was added to the C standard a while ago, but after the game's release, and MSVC didn't support it for some time. Update all code to use it instead of workarounds. Same for vsnprintf.

@SamVanheer SamVanheer added the enhancement New feature or request label Nov 18, 2021
@SamVanheer SamVanheer self-assigned this Nov 18, 2021
@SamVanheer SamVanheer changed the title Use snprintf everywhere instead of _snprintf Use snprintf and vsnprintf everywhere instead of _snprintf and _vsnprintf Nov 18, 2021
@SamVanheer SamVanheer reopened this Nov 18, 2021
@SamVanheer SamVanheer reopened this Nov 18, 2021
LogicAndTrick pushed a commit to LogicAndTrick/halflife-updated that referenced this issue Dec 26, 2021
LogicAndTrick pushed a commit to LogicAndTrick/halflife-updated that referenced this issue Dec 26, 2021
LogicAndTrick pushed a commit to LogicAndTrick/halflife-updated that referenced this issue Dec 26, 2021
… remove obsolete function alias on Linux

Resolves twhl-community#61
twhl-community#59

(cherry picked from commit 5f45923)
JoelTroch pushed a commit that referenced this issue Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant