feat(libSceIcu): accept a null handle in ucal_close #17160
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17160"
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 MarrasFederico on 2026-11-08T13:40:51Z.
What
Calendar disposal has unverified console ABI and behavior, and throws
NotImplemented_nid_no_patchfor any non-nullUCalendar*because no calendar producer (ucal_open,ucal_clone) is implemented.ucal_closefollows ICU 68.2 ucal.cpp by returning without action whencalis null. Closes when: calendar creation and disposal are implemented and compared with the console.The parameterless placeholder for
ucal_closeinRecoveredInventory.cppis replaced by a typedAPS5_VABIdefinition, and the recovered inventory count indocs/dev/debt/libSceIcu.mdis updated to match the source.Tested
Ubuntu 26.04.1 LTS, kernel 7.0.0-38-generic, GCC 15.2.0, Release,
BUILD_TESTING=ON, headd4c259d72fmerged ontomain20cfe3fbdc. Windows and macOS were not compiled here. No title was run.core/libs/prx/libSceIcu/all;ctest -R '^guest_icu_calendar$': 100% tests passed out of 1.core/libs/prx/libSceIcu/tests/Calendar.cppchecks the exported signature with astatic_assertand the paths above: returns, status values and untouched outputs, plus the inputs that must keep throwing.python3 tools/check_conventions.py --base upstream/mainpassed andgit diff --checkis clean.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)Pull request closed