ctype: remove all use of <ctype.h>, use our own versions

Except in the test servers.

Closes #9433
This commit is contained in:
Daniel Stenberg 2022-09-06 00:17:36 +02:00
parent 7b66050eae
commit 8dd95da35b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 13 additions and 15 deletions

View file

@ -281,7 +281,7 @@ static char *c_escape(const char *str, curl_off_t len)
strcpy(e, "\\?");
e += 2;
}
else if(!isprint(c)) {
else if(!ISPRINT(c)) {
msnprintf(e, 5, "\\x%02x", (unsigned)c);
e += 4;
}