Skip to content

Conversation

@obache
Copy link

@obache obache commented Aug 3, 2018

The first argment of ctype(3) functions is of type int, but expected as
either "unsigned char" or EOF.
So value of type "char" must be cast to "unsigned char" to pass such
functions, or it may result in unwanted behaviour, especially for the
case using non-ascii chars in char type value on platforms that "char"
is "signed char" type.

The first argment of ctype(3) functions is of type int, but expected as
either "unsigned char" or EOF.
So value of type "char" must be cast to "unsigned char" to pass such
functions, or it may result in unwanted behaviour, especially for the
case using non-ascii chars in char type value on platforms that "char"
is "signed char" type.
@obache
Copy link
Author

obache commented Jan 11, 2021

f1479aa ,same diff, different author, over 2 years later.
pull requests are meaningless for this repository, or not acceptable.

@obache obache closed this Jan 11, 2021
@obache obache deleted the fix-ctype-usage branch January 11, 2021 04:09
@thep
Copy link
Contributor

thep commented Jan 11, 2021

f1479aa ,same diff, different author, over 2 years later.
pull requests are meaningless for this repository, or not acceptable.

So sorry for missing this issue. :-( My recent life granted me little time to work on github projects, which I'm trying to manage to get more time. Thank you for your patch and please allow me to mention you in the NEWS file in the next release.

@obache
Copy link
Author

obache commented Jan 12, 2021

Don't worry about it, It's OK.
Just recent my repository update caused the conflict and it made me remember this PR.

Best to you as well!

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