]> sourceware.org Git - newlib-cygwin.git/commit
Drop global __ctype_ptr__ entirely in favor of using locale_t::ctype_ptr
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 25 Aug 2016 12:18:31 +0000 (14:18 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 25 Aug 2016 12:18:31 +0000 (14:18 +0200)
commite97109184ab0a2de680a90a432d94f86e5be7b0f
tree5185755b1866aeaeb18c89c12daa813053625308
parent988629da1d299cfef7023e07ad900dd047b9fc63
Drop global __ctype_ptr__ entirely in favor of using locale_t::ctype_ptr

Keep __ctype_ptr__ available on Cygwin only, for backward compatibility
with existing apps referencing it via the ctype macros.

Otherwise initialize __global_locale.ctype_ptr and __C_locale.ctype_ptr
and use them throughout.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
newlib/libc/ctype/ctype_.c
newlib/libc/ctype/ctype_.h [new file with mode: 0644]
newlib/libc/locale/locale.c
winsup/cygwin/ctype.cc
This page took 0.170772 seconds and 5 git commands to generate.