This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]