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

Minor PR to fix formatting. #133

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Minor PR to fix formatting. #133

merged 1 commit into from
Aug 17, 2023

Conversation

sheredom
Copy link
Owner

No description provided.

@sheredom sheredom force-pushed the fix_formatting branch 3 times, most recently from 13825f2 to a7d2b65 Compare August 17, 2023 13:22
@sheredom sheredom merged commit 8a8724b into master Aug 17, 2023
48 checks passed
@sheredom sheredom deleted the fix_formatting branch August 17, 2023 16:04
#else
#define UTEST_STRNCPY(x, y, size) strncpy(x, y, size)
#endif

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about doing something like this, but it might be confusing for future use. strncpy receives the number of characters to copy, but strcpy_s receives the size of x, so UTEST_STRNCPY behaves differently on Windows than on other systems.

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