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

casecompare: a strncasemp replacement #313

Closed
wants to merge 1 commit into from
Closed

Conversation

bagder
Copy link
Member

@bagder bagder commented Jun 12, 2024

Avoid using strncasecmp() because it relies on and uses the current locale which makes it work differently depending on where it runs. Including locales where 'i' and 'I' are not matching case insensitively.

Avoid using strncasecmp() because it relies and uses the current locale
which makes it work differently depending on where it runs. Including
locales where 'i' and 'I' are not matching case insensitively.
@bagder bagder closed this in 21fff73 Jun 12, 2024
@bagder bagder deleted the bagder/strncasecmp branch June 12, 2024 12:02
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.

1 participant