feat(libSceLibcInternal): implement std::numpunct<char> constructors and deleting destructor #28312

Open
paulk161 wants to merge 2 commits from upstream-pr/28312 into main
paulk161 commented 2026-11-29 23:42:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by paulk161 on 2026-11-29T23:42:05Z.


What

  • Implement _ZNSt8numpunctIcEC1EPKcmb (WK24j1F3rCU), _ZNSt8numpunctIcEC2ERKSt8_Locinfomb (Cb1hI+w9nyU), and _ZNSt8numpunctIcED0Ev (Lf6h5krl2fA) in libSceLibcInternal by delegating to the existing libc helpers (NumpunctConstructNamed_nid_no_patch, NumpunctConstructFromLocinfo_nid_no_patch, and NumpunctDelete_nid_no_patch).
  • Replace the unverified parameterless stubs in InventoryExports6.hpp and InventoryExports6.cpp with typed signatures and implementations in Numpunct.cpp.
  • Expand GuestLibcInternalNumpunct tests to cover named and _Locinfo construction (isDefault true/false), deleting destruction, error handling on null/unsupported locales, and heap allocation balance.
  • Add the corresponding debt removal fragment in docs/dev/debt/changes/feat-libcinternal-numpunct-char-ctors.md.

Tested

  • Windows 10 (MSYS2 UCRT64, GCC 16.2.0, Release): built libSceLibcInternal and guest_libc_internal_numpunct_tests, ran ctest -R "guest_libc_internal_numpunct|public_headers", python3 tools/debt_fold.py --check, python3 tools/check_conventions.py, and python3 tools/pr_overlap.py --branch feat/libcinternal-numpunct-char-ctors.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

Summary by CodeRabbit

  • Bug Fixes
    • Improved support for locale-aware numeric formatting, including decimal separators, thousands separators, and digit grouping.
    • Invalid or missing locale information is now rejected consistently, helping prevent incomplete locale initialization.
    • Corrected construction and cleanup of numeric locale settings so locale-specific values are applied and resources are released correctly.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5556420575 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/28312). Originally posted by [paulk161](https://github.com/paulk161) on 2026-11-29T23:42:05Z. --- ### What - Implement `_ZNSt8numpunctIcEC1EPKcmb` (`WK24j1F3rCU`), `_ZNSt8numpunctIcEC2ERKSt8_Locinfomb` (`Cb1hI+w9nyU`), and `_ZNSt8numpunctIcED0Ev` (`Lf6h5krl2fA`) in `libSceLibcInternal` by delegating to the existing `libc` helpers (`NumpunctConstructNamed_nid_no_patch`, `NumpunctConstructFromLocinfo_nid_no_patch`, and `NumpunctDelete_nid_no_patch`). - Replace the unverified parameterless stubs in `InventoryExports6.hpp` and `InventoryExports6.cpp` with typed signatures and implementations in `Numpunct.cpp`. - Expand `GuestLibcInternalNumpunct` tests to cover named and `_Locinfo` construction (`isDefault` true/false), deleting destruction, error handling on null/unsupported locales, and heap allocation balance. - Add the corresponding debt removal fragment in `docs/dev/debt/changes/feat-libcinternal-numpunct-char-ctors.md`. ### Tested - Windows 10 (MSYS2 UCRT64, GCC 16.2.0, Release): built `libSceLibcInternal` and `guest_libc_internal_numpunct_tests`, ran `ctest -R "guest_libc_internal_numpunct|public_headers"`, `python3 tools/debt_fold.py --check`, `python3 tools/check_conventions.py`, and `python3 tools/pr_overlap.py --branch feat/libcinternal-numpunct-char-ctors`. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * Improved support for locale-aware numeric formatting, including decimal separators, thousands separators, and digit grouping. * Invalid or missing locale information is now rejected consistently, helping prevent incomplete locale initialization. * Corrected construction and cleanup of numeric locale settings so locale-specific values are applied and resources are released correctly. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
PrivacyOnion commented 2026-11-29 23:43:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-29T23:43:43Z.

Review: CHANGES_REQUESTED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against 0e8fcbf73d:

  • Conventions: tools/check_conventions.py failed.
    (pull request): error: [commit-subject] Commit subject is not Conventional Commits: 0e8fcbf73d libSceLibcInternal: implement numpunct<char> constructors and deleting destructor
    (pull request): error: [pr-template] Fill in the pull request template: add the '### What' heading of the template
    (pull request): error: [pr-template] Fill in the pull request template: add the '### Tested' heading of the template
    (pull request): error: [pr-template] Fill in the pull request template: add the '### Checklist' heading of the template
    4 findings, 4 errors; GitHub shows at most 10 error annotations, the job summary lists all
    
  • Build: guest_libc_internal_numpunct_tests built cleanly.
  • CTest (guest_libc_internal_numpunct):
    1/1 Test #5013: guest_libc_internal_numpunct .....   Passed    0.01 sec
    100% tests passed, 0 tests failed out of 1
    

Requesting changes for the points above.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6105431688 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/28312#pullrequestreview-6105431688). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-29T23:43:43Z. **Review:** CHANGES_REQUESTED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `0e8fcbf73d`: - **Conventions**: `tools/check_conventions.py` failed. ``` (pull request): error: [commit-subject] Commit subject is not Conventional Commits: 0e8fcbf73d libSceLibcInternal: implement numpunct<char> constructors and deleting destructor (pull request): error: [pr-template] Fill in the pull request template: add the '### What' heading of the template (pull request): error: [pr-template] Fill in the pull request template: add the '### Tested' heading of the template (pull request): error: [pr-template] Fill in the pull request template: add the '### Checklist' heading of the template 4 findings, 4 errors; GitHub shows at most 10 error annotations, the job summary lists all ``` - **Build**: `guest_libc_internal_numpunct_tests` built cleanly. - **CTest** (`guest_libc_internal_numpunct`): ``` 1/1 Test #5013: guest_libc_internal_numpunct ..... Passed 0.01 sec 100% tests passed, 0 tests failed out of 1 ``` Requesting changes for the points above.
coderabbitai[bot] commented 2026-11-29 23:48:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-29T23:48:24Z.

Review: COMMENTED


Architecture findings (1)

Advisory architecture findings (1)

  • Trivial — The PR enables successful construction of a char facet that owns allocated strings, but leaves the direct D1 and D2 exports in libSceLibcInternal as stubs. A guest that binds either non-deleting destructor to this module can fail to release the strings during object teardown. The stubs predate the PR; the changed exposure is the ability to reach them after construction through the newly implemented exports. Virtual dispatch and D0 are not affected by this gap.
Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 739d5146-5a8d-45c9-9089-d1fee5e7b0bd
Commits

Reviewing files that changed from the base of the PR and between 265dbcfee7 and 0e8fcbf73d.

Files selected for processing: 5

  • core/libs/prx/libSceLibcInternal/InventoryExports6.cpp
  • core/libs/prx/libSceLibcInternal/Numpunct.cpp
  • core/libs/prx/libSceLibcInternal/include/InventoryExports6.hpp
  • core/libs/tests/GuestLibcInternalNumpunct.cpp
  • docs/dev/debt/changes/feat-libcinternal-numpunct-char-ctors.md
Files with no reviewable changes: 1

  • core/libs/prx/libSceLibcInternal/InventoryExports6.cpp

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6105453906 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/28312#pullrequestreview-6105453906). Originally posted by [coderabbitai[bot]](https://github.com/apps/coderabbitai) on 2026-11-29T23:48:24Z. **Review:** COMMENTED --- <!-- coderabbit-ai-generated:v1 --> **Architecture findings (1)** <details> <summary>Advisory architecture findings (1)</summary> <dl> <dd> <br> - **Trivial** — The PR enables successful construction of a char facet that owns allocated strings, but leaves the direct D1 and D2 exports in libSceLibcInternal as stubs. A guest that binds either non-deleting destructor to this module can fail to release the strings during object teardown. The stubs predate the PR; the changed exposure is the ability to reach them after construction through the newly implemented exports. Virtual dispatch and D0 are not affected by this gap. </dd> </dl> </details> <h6> <details> <summary><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Review info</summary> <dl> <dd> <br> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</summary> <dl> <dd> <br> - **Source mode**: Auto - **Repository**: Unavailable - **Branch**: Unavailable - **File**: No configuration file from this repository applied - **Commit**: Unavailable - **Layers**: defaults - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `739d5146-5a8d-45c9-9089-d1fee5e7b0bd` </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</summary> <dl> <dd> <br> Reviewing files that changed from the base of the PR and between 265dbcfee779acc2965383c93d39ac9e28b49329 and 0e8fcbf73dc34efbb7cb18309d87269e9ec507dd. </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 5</summary> <dl> <dd> <br> * `core/libs/prx/libSceLibcInternal/InventoryExports6.cpp` * `core/libs/prx/libSceLibcInternal/Numpunct.cpp` * `core/libs/prx/libSceLibcInternal/include/InventoryExports6.hpp` * `core/libs/tests/GuestLibcInternalNumpunct.cpp` * `docs/dev/debt/changes/feat-libcinternal-numpunct-char-ctors.md` </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-no-changes-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-no-changes.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files with no reviewable changes: 1</summary> <dl> <dd> <br> * core/libs/prx/libSceLibcInternal/InventoryExports6.cpp </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. </dd> </dl> </details> </h6> <!-- This is an auto-generated comment by CodeRabbit for review status --> <!-- coderabbit-review-publication v1 publication=d5d48522-aea1-4728-9b76-cfcdc29538af attempt=e776569d-9452-4063-b5f5-48cf114b7ae5 batch=1/1 -->
PrivacyOnion commented 2026-11-29 23:50:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-29T23:50:03Z.

Review: APPROVED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against cda0b1a1fc:

  • Conventions: tools/check_conventions.py passed.
  • Build: guest_libc_internal_numpunct_tests built cleanly.
  • CTest (guest_libc_internal_numpunct):
    1/1 Test #5013: guest_libc_internal_numpunct .....   Passed    0.01 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceLibcInternal/InventoryExports6.cpp, core/libs/prx/libSceLibcInternal/Numpunct.cpp, core/libs/prx/libSceLibcInternal/include/InventoryExports6.hpp reverted to main, the new tests do not build/link without the change; restoring it makes them build and pass.
  • Code reading:
    • Verified parameter types and calling convention (APS5_VABI) for _ZNSt8numpunctIcEC1EPKcmb_nid_postfix, _ZNSt8numpunctIcEC2ERKSt8_Locinfomb_nid_postfix, and _ZNSt8numpunctIcED0Ev_nid_postfix in InventoryExports6.hpp and Numpunct.cpp.
    • Verified delegation to libc helper functions NumpunctConstructNamed_nid_no_patch, NumpunctConstructFromLocinfo_nid_no_patch, and NumpunctDelete_nid_no_patch matches libc facet lifecycle and error handling conventions.
    • Verified debt removal fragment docs/dev/debt/changes/feat-libcinternal-numpunct-char-ctors.md matches modified stubs in InventoryExports6.cpp and conforms to debt tracking conventions.
    • Verified test coverage in GuestLibcInternalNumpunct.cpp thoroughly tests C1 and C2 ctors with isDefault true/false, deleting destruction (D0), null facet, invalid locale rejection, and allocation leak balance.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6105463886 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/28312#pullrequestreview-6105463886). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-29T23:50:03Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `cda0b1a1fc`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `guest_libc_internal_numpunct_tests` built cleanly. - **CTest** (`guest_libc_internal_numpunct`): ``` 1/1 Test #5013: guest_libc_internal_numpunct ..... Passed 0.01 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceLibcInternal/InventoryExports6.cpp`, `core/libs/prx/libSceLibcInternal/Numpunct.cpp`, `core/libs/prx/libSceLibcInternal/include/InventoryExports6.hpp` reverted to `main`, the new tests do not build/link without the change; restoring it makes them build and pass. - **Code reading**: - Verified parameter types and calling convention (APS5_VABI) for _ZNSt8numpunctIcEC1EPKcmb_nid_postfix, _ZNSt8numpunctIcEC2ERKSt8_Locinfomb_nid_postfix, and _ZNSt8numpunctIcED0Ev_nid_postfix in InventoryExports6.hpp and Numpunct.cpp. - Verified delegation to libc helper functions NumpunctConstructNamed_nid_no_patch, NumpunctConstructFromLocinfo_nid_no_patch, and NumpunctDelete_nid_no_patch matches libc facet lifecycle and error handling conventions. - Verified debt removal fragment docs/dev/debt/changes/feat-libcinternal-numpunct-char-ctors.md matches modified stubs in InventoryExports6.cpp and conforms to debt tracking conventions. - Verified test coverage in GuestLibcInternalNumpunct.cpp thoroughly tests C1 and C2 ctors with isDefault true/false, deleting destruction (D0), null facet, invalid locale rejection, and allocation leak balance. Looks Good To Me
MarcZX10 commented 2026-11-30 00:37:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T00:37:26Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

Changes are required before merge: make the _Locinfo constructor initialize the facet from the supplied locale information.

What I ran

Reviewed head cda0b1a1fcb980e9bc37addd30ed4495f3d51212, base main. I read the prepared description, commits, diff, manifest, and all five changed files. I also read the delegated libc helper implementation. No commands or tests were run; the Windows test and check runs are author-reported.

Results

Check Result Note
Source review failed One behavior defect found
Author-reported checks not run Not independently verified
Negative control not run No test execution available

Findings

Blocking

  • core/libs/prx/libSceLibcInternal/Numpunct.cpp:29: The new _Locinfo constructor forwards locinfo to NumpunctConstructFromLocinfo_nid_no_patch, but that helper's NumpunctInit_nid_no_patch ignores its locale-info argument and obtains punctuation from localeconv_nid_postfix() instead. Thus the newly exposed constructor does not initialize from the locale information it receives. Update the implementation path to use the supplied locale data, and cover it with a non-C locale test.

Non-blocking

None.

Sources

Not verified

Builds, tests, and other checks described by the author were not run independently. No changed files were excluded from the prepared bundle; all five changed files were read.

To get this to a good state

Use the supplied locinfo when initializing _Locinfo construction, add a test proving a non-C locale affects the facet, and rerun the reported build and checks on the updated head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6105673993 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/28312#pullrequestreview-6105673993). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-30T00:37:26Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested Changes are required before merge: make the `_Locinfo` constructor initialize the facet from the supplied locale information. ## What I ran Reviewed head `cda0b1a1fcb980e9bc37addd30ed4495f3d51212`, base `main`. I read the prepared description, commits, diff, manifest, and all five changed files. I also read the delegated libc helper implementation. No commands or tests were run; the Windows test and check runs are author-reported. ## Results | Check | Result | Note | |---|---|---| | Source review | failed | One behavior defect found | | Author-reported checks | not run | Not independently verified | | Negative control | not run | No test execution available | ## Findings ### Blocking - `core/libs/prx/libSceLibcInternal/Numpunct.cpp:29`: The new `_Locinfo` constructor forwards `locinfo` to `NumpunctConstructFromLocinfo_nid_no_patch`, but that helper's `NumpunctInit_nid_no_patch` ignores its locale-info argument and obtains punctuation from `localeconv_nid_postfix()` instead. Thus the newly exposed constructor does not initialize from the locale information it receives. Update the implementation path to use the supplied locale data, and cover it with a non-`C` locale test. ### Non-blocking None. ## Sources - [Numpunct.cpp at reviewed head](https://github.com/boykopovar/AnyPS5/blob/cda0b1a1fcb980e9bc37addd30ed4495f3d51212/core/libs/prx/libSceLibcInternal/Numpunct.cpp#L28-L30) - [LocaleSupport.cpp helper at reviewed head](https://github.com/boykopovar/AnyPS5/blob/cda0b1a1fcb980e9bc37addd30ed4495f3d51212/core/libs/prx/libc/src/LocaleSupport.cpp#L2416-L2435) ## Not verified Builds, tests, and other checks described by the author were not run independently. No changed files were excluded from the prepared bundle; all five changed files were read. ## To get this to a good state Use the supplied `locinfo` when initializing `_Locinfo` construction, add a test proving a non-`C` locale affects the facet, and rerun the reported build and checks on the updated head.
MarcZX10 commented 2026-11-30 18:46:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T18:46:49Z.

Review: APPROVED


Reviewed — looks good

The three requested numpunct<char> symbols delegate to the existing libc helpers, and the reviewed changes show no blocking defect.

What I ran

Reviewed head a54ef557225a41de93d5ff0ba80928900e98e286 against base main. I inspected the prepared diff and used repo_read.py to read LocaleSupport.cpp lines 2380–2470 and search for the delegated helper symbols. No tests or builds were run; the Windows checks in the PR description are author-reported.

Results

Check Result Note
Changed code review passed All seven changed files reviewed
Automated checks not run Windows checks are author-reported

Negative control

Not run; no tests were run in this review.

Findings

Blocking

None.

Non-blocking

None.

Sources

Not verified

Tests and builds were not run here. I reviewed all seven files listed under reviewed in files.json; that manifest lists no excluded files. Console behavior and other platforms were not verified.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6118332692 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/28312#pullrequestreview-6118332692). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-30T18:46:49Z. **Review:** APPROVED --- # Reviewed — looks good The three requested `numpunct<char>` symbols delegate to the existing libc helpers, and the reviewed changes show no blocking defect. ## What I ran Reviewed head `a54ef557225a41de93d5ff0ba80928900e98e286` against base `main`. I inspected the prepared diff and used `repo_read.py` to read `LocaleSupport.cpp` lines 2380–2470 and search for the delegated helper symbols. No tests or builds were run; the Windows checks in the PR description are author-reported. ## Results | Check | Result | Note | |---|---|---| | Changed code review | passed | All seven changed files reviewed | | Automated checks | not run | Windows checks are author-reported | ## Negative control Not run; no tests were run in this review. ## Findings ### Blocking None. ### Non-blocking None. ## Sources - [Numpunct.cpp at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/a54ef557225a41de93d5ff0ba80928900e98e286/core/libs/prx/libSceLibcInternal/Numpunct.cpp#L24) - [LocaleSupport.cpp at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/a54ef557225a41de93d5ff0ba80928900e98e286/core/libs/prx/libc/src/LocaleSupport.cpp#L2416) ## Not verified Tests and builds were not run here. I reviewed all seven files listed under `reviewed` in `files.json`; that manifest lists no excluded files. Console behavior and other platforms were not verified. ## To get this to a good state Nothing is required.
ligmaSec commented 2026-12-03 06:11:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T06:11:33Z.

Review: COMMENTED


Built the merge with current main 4d6e4f058d and ran guest_libc_internal_numpunct and guest_numpunct_facet on Linux. Both passed, covering the named and locinfo constructors, both default modes, the deleting destructor, and rejection of null locinfo before changing the facet.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6164554156 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/28312#pullrequestreview-6164554156). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T06:11:33Z. **Review:** COMMENTED --- Built the merge with current main `4d6e4f058d` and ran `guest_libc_internal_numpunct` and `guest_numpunct_facet` on Linux. Both passed, covering the named and locinfo constructors, both default modes, the deleting destructor, and rejection of null locinfo before changing the facet. AI-assisted: yes.
Plyxen commented 2026-12-03 12:36:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Plyxen on 2026-12-03T12:36:24Z.

Review: APPROVED


I read the diff at a54ef55722. Windows 11 with GCC 15.2 and Linux (Ubuntu 24.04 in WSL2, GCC 13.3), merged into main at daa61711afe together with other open PRs (so not an isolated build).

  • guest_libc_internal_numpunct and guest_numpunct_facet: pass on both.
  • Control (the same tree with only this PR's source change taken out): guest_numpunct_facet fails; guest_libc_internal_numpunct does not compile, because it calls the new exports.

Not checked: a console or a title.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6169936178 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/28312#pullrequestreview-6169936178). Originally posted by [Plyxen](https://github.com/Plyxen) on 2026-12-03T12:36:24Z. **Review:** APPROVED --- I read the diff at `a54ef55722`. Windows 11 with GCC 15.2 and Linux (Ubuntu 24.04 in WSL2, GCC 13.3), merged into `main` at `daa61711afe` together with other open PRs (so not an isolated build). - `guest_libc_internal_numpunct` and `guest_numpunct_facet`: pass on both. - Control (the same tree with only this PR's source change taken out): `guest_numpunct_facet` fails; `guest_libc_internal_numpunct` does not compile, because it calls the new exports. Not checked: a console or a title. AI-assisted: yes (Claude Code)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/28312:upstream-pr/28312'
git switch 'upstream-pr/28312'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/28312'
git switch 'upstream-pr/28312'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/28312'
git switch 'upstream-pr/28312'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/28312'
git switch 'main'
git merge --squash 'upstream-pr/28312'
git switch 'main'
git merge --ff-only 'upstream-pr/28312'
git switch 'main'
git merge 'upstream-pr/28312'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!28312
No description provided.