feat(libSceIcu): implement uloc_getName and uloc_openKeywords #18557
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/18557"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by flyingkitty129 on 2026-11-11T21:41:50Z.
What
Tested
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T06:18:17Z.
Review: COMMENTED
Reviewed — comments
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
af0cc82b891b1349b93b9739aed71cef8e08ccd8. No commands or tests were run.Results
Findings
Blocking
None.
Non-blocking
core/libs/prx/libSceIcu/LocaleCore.cpp:447: Catch allocation failures while buildinglist->namestoo. Thenew (std::nothrow)only handles allocation ofKeywordList; subsequentstd::stringappends can still throw across this guest C ABI entry point. Reserve/build the names inside atryblock and convertstd::bad_allocto the ICU memory allocation status.Not verified
Full head text was read for
LocaleCore.cppandGuestIcuLocaleCore.cpp. The relevant diff was inspected forInventoryExports.hpp,LegacyExports.cpp,LegacyExports.hpp, anddocs/dev/debt/libSceIcu.md; their complete texts were not read.manifest.jsonlists all six changed files as included;files.jsonwas not available as a review-folder document, so excluded-file details were not verified. Tests, builds, and console behavior were not run.To get this to a good state
Nothing is required. Optional: handle allocation failures from building the enumeration’s keyword-name buffer.
Pull request closed