diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-07-26 23:36:04 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-08-15 10:56:58 +0200 |
commit | d7281b92abb47d3f10c1ead20b16877c39a7afdd (patch) | |
tree | 0669058644fb9272a492f1a4fba705865fb52d3a /newlib/libc/stdlib/realloc.c | |
parent | 659f4ca91625f5b2331fc8797a8ec62ea728589d (diff) | |
download | cygnal-d7281b92abb47d3f10c1ead20b16877c39a7afdd.tar.gz cygnal-d7281b92abb47d3f10c1ead20b16877c39a7afdd.tar.bz2 cygnal-d7281b92abb47d3f10c1ead20b16877c39a7afdd.zip |
Fix multiple thinkos in newlocale
- Setting the categories strings in tmp_locale short-circuits
__loadlocale. Use a new_categories array instead, just as in
_setlocale_r.
- If we have a base, copy over the *not* defined categories in
category_mask in the first place. Rearrange loop accordingly.
- Free base right in newlocale.
Signed-off by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdlib/realloc.c')
0 files changed, 0 insertions, 0 deletions