]> granicus.if.org Git - curl/commit
ctype: restore character classification for non-ASCII platforms
authorStephan Mühlstrasser <stm@pdflib.com>
Fri, 13 Apr 2018 12:28:55 +0000 (14:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 24 Apr 2018 12:36:06 +0000 (14:36 +0200)
commitdd7521bcc1b7a6fcb53c31f9bd1192fcc884bd56
treef2b955ee5e5da25225901d8ed58379a7dfe65ca9
parente6c22368c6e5426ec2b1cb8a3041ebc98d0ad402
ctype: restore character classification for non-ASCII platforms

With commit 4272a0b0fc49a1ac0ceab5c4a365c9f6ab8bf8e2 curl-speficic
character classification macros and functions were introduced in
curl_ctype.[ch] to avoid dependencies on the locale. This broke curl on
non-ASCII, e.g. EBCDIC platforms. This change restores the previous set
of character classification macros when CURL_DOES_CONVERSIONS is
defined.

Closes #2494
lib/curl_ctype.c
lib/curl_ctype.h
lib/http_chunks.c
lib/transfer.c