Corinna Vinschen a68ca43b90 Redefine locale info in struct _reent for per-thread locales
The _reent members _current_category and _current_locale are not
used at all.  _current_locale is set to "C" in various points of
the code but its value is just as unused as _current_category.

This patch redefines these members without changing the size of the
structure to allow for an implementation of per-thread locales per
POSIX-1.2008 (i.e. uselocale and usage of the per-thread locale in
subsequent function calls).

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-07-06 15:41:35 +02:00
..
2013-04-30 23:43:08 +00:00
2012-11-23 13:22:47 +00:00
2011-06-06 05:02:13 +00:00
2016-06-24 23:32:39 +02:00
2016-06-25 00:43:01 +02:00
2014-04-26 17:38:22 +00:00
2016-06-24 23:32:39 +02:00
2016-06-24 23:32:39 +02:00
2016-06-25 00:43:01 +02:00
2015-03-03 12:58:34 +00:00
2016-06-25 00:43:01 +02:00
2016-06-24 23:32:39 +02:00
2016-06-24 15:49:45 +02:00
2015-11-18 19:09:47 +01:00
2016-06-25 17:08:18 +01:00
2014-08-14 17:36:24 +00:00
2015-08-17 11:05:43 +02:00
2013-04-23 09:44:36 +00:00
2016-06-23 16:56:41 +02:00
2016-06-24 23:32:39 +02:00
2016-06-23 21:30:15 +02:00
2016-06-25 00:43:01 +02:00
2016-06-24 23:32:39 +02:00
2016-06-23 21:30:15 +02:00
2016-03-29 13:41:11 +02:00
2016-06-24 23:32:39 +02:00
2016-06-24 23:32:39 +02:00
2016-06-24 23:32:39 +02:00
2013-04-23 09:44:36 +00:00
2016-06-23 16:56:41 +02:00
2016-06-24 21:00:04 +02:00
2016-06-24 21:00:04 +02:00
2016-06-24 23:33:01 +02:00