This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
[newlib-cygwin] Correct argument to __get_current_locale.
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: newlib-cvs at sourceware dot org
- Date: 28 Nov 2016 09:19:01 -0000
- Subject: [newlib-cygwin] Correct argument to __get_current_locale.
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5fdd657b369aa2c08a8d1cfd12d5e23227d78c66
commit 5fdd657b369aa2c08a8d1cfd12d5e23227d78c66
Author: Douglas <info@ourairquality.org>
Date: Sun Nov 27 12:13:31 2016 +1100
Correct argument to __get_current_locale.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
newlib/libc/locale/locale.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c
index b7ced4d..8572821 100644
--- a/newlib/libc/locale/locale.c
+++ b/newlib/libc/locale/locale.c
@@ -996,7 +996,7 @@ __locale_ctype_ptr_l (struct __locale_t *locale)
const char *
__locale_ctype_ptr (void)
{
- return __get_current_locale (_REENT)->ctype_ptr;
+ return __get_current_locale ()->ctype_ptr;
}
#ifndef _REENT_ONLY