]> granicus.if.org Git - icu/commit
ICU-21639 Added an internal utility class to streamline preflighting and heap-allocat...
authorRich Gillam <62772518+richgillam@users.noreply.github.com>
Thu, 8 Jul 2021 00:35:00 +0000 (17:35 -0700)
committerRich Gillam <62772518+richgillam@users.noreply.github.com>
Mon, 2 Aug 2021 20:15:29 +0000 (13:15 -0700)
commitb03b8be7414422d8198b77da4c7ed8c9457dd349
tree391657a5da6b021cb85648c9665ee19fda0e3723
parent4368f69ef4a26c8c42c1812c7a71e30d262a51bd
ICU-21639 Added an internal utility class to streamline preflighting and heap-allocating a char buffer for a locale ID
and changed several internal methods in ULocale to use it, so that they work correctly on locale IDs that are longer
than ULOC_FULLNAME_CAPACITY.
icu4c/source/common/loclikely.cpp
icu4c/source/common/uloc.cpp
icu4c/source/common/ulocimp.h
icu4c/source/test/cintltst/cloctst.c