mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
Always fall back to __ctype_ptr__ in isXXX_l functions.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
042263cd83
commit
625a8a3f62
@ -995,7 +995,8 @@ _DEFUN_VOID (__locale_ctype_ptr)
|
||||
char *
|
||||
__locale_ctype_ptr_l (struct __locale_t *locale)
|
||||
{
|
||||
return locale->ctype_ptr;
|
||||
extern char *__ctype_ptr__;
|
||||
return locale->ctype_ptr ?: __ctype_ptr__;
|
||||
}
|
||||
|
||||
#ifndef _REENT_ONLY
|
||||
|
Loading…
x
Reference in New Issue
Block a user