libc/newlib/libc/locale
Corinna Vinschen 1498c79db8 Change loadlocale to fill a __locale_t given as parameter
Don't use global variables.  This allows to call loadlocale from
the yet to be created newlocale().

Rename _thr_locale_t to __locale_t (these locales are not restricted
to threads so the name is misleading).

Along these lines, fix _set_ctype to take a __locale_t as parameter.

Signed-off by: Corinna Vinschen <corinna@vinschen.de>
2016-08-15 10:56:57 +02:00
..
Makefile.am Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
Makefile.in Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
fix_grouping.c * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
lctype.c Change loadlocale to fill a __locale_t given as parameter 2016-08-15 10:56:57 +02:00
ldpart.c Fix coverity CID 143502: Null pointer dereference 2016-03-24 10:06:50 +01:00
ldpart.h * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
lmessages.c Change loadlocale to fill a __locale_t given as parameter 2016-08-15 10:56:57 +02:00
lmonetary.c Change loadlocale to fill a __locale_t given as parameter 2016-08-15 10:56:57 +02:00
lnumeric.c Change loadlocale to fill a __locale_t given as parameter 2016-08-15 10:56:57 +02:00
locale.c Change loadlocale to fill a __locale_t given as parameter 2016-08-15 10:56:57 +02:00
locale.tex Fix mismatched parentheses in documentation. 2015-06-24 12:23:25 +01:00
nl_langinfo.3 * libc/include/langinfo.h: New file. 2002-08-23 01:56:05 +00:00
nl_langinfo.c Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
setlocale.h Change loadlocale to fill a __locale_t given as parameter 2016-08-15 10:56:57 +02:00
timelocal.c Change loadlocale to fill a __locale_t given as parameter 2016-08-15 10:56:57 +02:00