summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/realloc.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-07-26 23:36:04 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-08-15 10:56:58 +0200
commitd7281b92abb47d3f10c1ead20b16877c39a7afdd (patch)
tree0669058644fb9272a492f1a4fba705865fb52d3a /newlib/libc/stdlib/realloc.c
parent659f4ca91625f5b2331fc8797a8ec62ea728589d (diff)
downloadcygnal-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