commit | 1d306de1a7c40ded8eec50b2a651e2658cb91ed8 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Mon Oct 27 19:08:10 2014 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Mon Oct 27 19:08:10 2014 +0000 |
tree | 91c7bea0f6afc5a252adfa97cc9efba0f7a6bccc | |
parent | 129e07fe993d168f3a1270f8e8aa811740337d9b [diff] |
PR #21321 talked about implementation-defined behavior of realloc. I poo-poohed it, and was wrong. Fix the call in <locale>. Review the others, refactored some duplicated code, and found overflow bugs (and __event_cap_ was never getting updated, either). git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@220702 91177308-0d34-0410-b5e6-96231b3b80d8