revert: stop wcstombs before a multibyte character exceeding capacity (#21244) #21567
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/21567"
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 oneandonlydean on 2026-11-16T12:16:36Z.
What
Exact inverse revert of #21244, reopened from #21515 (whose merge fails on GitHub with HTTP 502 every time) (merge
fc66bec8cd). It makeswcstombsstop before a multibyte character that would exceed the capacity, but the existingguest_multibyte_localetest expects the opposite ("wcstombs fills the capacity mid-character",GuestMultibyteLocale.cpp:113), and that test now aborts on Windowsmainon two machines since #21244 merged (last pass0694c4cbd6, first failure0173f20a5f). Which behaviour the console has needs settling first; the change can come back with both tests agreeing.Tested
The full Windows suite on this PR must show
guest_multibyte_localepassing.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 PrivacyOnion on 2026-11-16T12:18:19Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
cc1c20e0dd:tools/check_conventions.pypassed;git diff --checkclean.guest_wcsrtombs_testsbuilt cleanly.guest_wcsrtombs):Requesting changes for the points above.