[codex] Match MSL wide stream orientation #121

Merged
coah80 merged 1 commits from agent/continue-0922/tools-wchar into main 2026-09-22 05:53:53 +00:00
coah80 commented 2026-09-22 05:53:05 +00:00 (Migrated from github.com)

Adds the matching MSL wide stream orientation implementation and links the unit in configure.py.

Validation:

  • objdiff: 1/1 function at 100.0%; 132/132 code bytes and complete data
  • ctxdiff: fwide reports zero instruction differences
  • pool_diff: both objects have no .data section
  • full link: build/43U/main.elf succeeds

Note

Add fwide to MSL wide-character stream orientation

  • Adds the fwide function in wchar_io.c to set and query stream orientation: returns zero for null or closed streams, assigns orientation to unoriented streams per the requested mode, and reports the current orientation for already-oriented streams
  • Marks MSL_Common/wchar_io.c as Matching in configure.py so the build includes the newly implemented object

Macroscope summarized d0f6f8a.

Adds the matching MSL wide stream orientation implementation and links the unit in configure.py. Validation: - objdiff: 1/1 function at 100.0%; 132/132 code bytes and complete data - ctxdiff: fwide reports zero instruction differences - pool_diff: both objects have no .data section - full link: build/43U/main.elf succeeds <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Add `fwide` to MSL wide-character stream orientation > - Adds the `fwide` function in [wchar_io.c](https://github.com/coah80/wii-ipl/pull/121/files#diff-d650815fb350cabe7064c3404cac19e0e9dc285352e542307bf96a14ec4f4b0a) to set and query stream orientation: returns zero for null or closed streams, assigns orientation to unoriented streams per the requested mode, and reports the current orientation for already-oriented streams > - Marks `MSL_Common/wchar_io.c` as `Matching` in [configure.py](https://github.com/coah80/wii-ipl/pull/121/files#diff-4d5f3192809ec1b9add6b33007e0c50031ad9a0a2f3f55a481b506468824db2c) so the build includes the newly implemented object > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized d0f6f8a.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.