Revert "curl_ctype.h: somewhat revolutionary but make ISSPACE and ISBLANK the same"

This reverts commit f22e6e9e95.
This commit is contained in:
Daniel Stenberg 2025-03-01 00:21:46 +01:00
parent 857042071d
commit cf71ecc80f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -43,7 +43,7 @@
#define ISLOWER(x) (((x) >= 'a') && ((x) <= 'z'))
#define ISDIGIT(x) (((x) >= '0') && ((x) <= '9'))
#define ISBLANK(x) (((x) == ' ') || ((x) == '\t'))
#define ISSPACE(x) ISBLANK(x)
#define ISSPACE(x) (ISBLANK(x) || (((x) >= 0xa) && ((x) <= 0x0d)))
#define ISURLPUNTCS(x) (((x) == '-') || ((x) == '.') || ((x) == '_') || \
((x) == '~'))
#define ISUNRESERVED(x) (ISALNUM(x) || ISURLPUNTCS(x))