feat(libc): track stream orientation and implement fwide #10324

Merged
MarrasFederico merged 2 commits from upstream-pr/10324 into main 2026-11-02 10:22:33 +00:00
MarrasFederico commented 2026-10-23 17:51:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarrasFederico on 2026-10-23T17:51:49Z.


What

fwide (NID w6Aq68dFoP4) is exported by the PS5's libSceLibcInternal (3.20 inventory) but AnyPS5's libc did not provide it, so a title importing it could not resolve the symbol.

It now follows FreeBSD 11.4 fwide.c. Each stream keeps an orientation: 0 (none), -1 (byte) or 1 (wide). fwide(stream, 0) returns it, and a nonzero mode orients a stream that has none yet, wide for a positive mode and byte for a negative one, and never changes an established orientation.

The I/O calls set it the way FreeBSD's ORIENT(fp, o) does:

  • Byte orientation comes from the first byte call, as FreeBSD's ORIENT does; fgets orients before it checks its size, as in FreeBSD. That covers fgetc/getc, getc_unlocked, ungetc, fgets, fread, fputc/putc, putc_unlocked, fputs, puts, fwrite, vfprintf, the printf family, fscanf/vfscanf and perror on stderr. The wrappers that forward to them (getchar, putchar, __srget, __swbuf, getw, putw, fprintf, scanf) inherit it.
  • Wide orientation comes from the first wide call, ungetwc and fgetws also before their argument checks: fgetwc, ungetwc, fgetws, fputwc, fputws, vfwprintf, wprintf and vfwscanf/vfwscanf_s, plus their wrappers.
  • No orientation comes from a zero-length fread or fwrite, which return before ORIENT in FreeBSD, or from metadata calls such as fseek, fflush and fileno.
  • A successful freopen clears the orientation, as FreeBSD's freopen.c does, and so does closing a stream.

The printf and wprintf families, perror and putw orient the stream as C11 7.21.2p4 requires. FreeBSD 11.4 differs here: its vfprintf.c, vfwprintf.c, perror.c and putw.c have no ORIENT, and vfwprintf can even orient a fresh stream to bytes through __swbuf. As in FreeBSD, the orientation only answers fwide: a byte call on a wide stream still runs. The debt entry records the C11 choice and that nothing was measured on a console.

Tested

Ubuntu 26.04.1, kernel 7.0.0-38, GCC 15.2.0, Release, full build with BUILD_TESTING=ON. Windows was not compiled here; wachi35676's Windows run is below. No title was run.

  • New guest_fwide test, which loads the built libc and covers:
    • a new stream is unoriented, and fseek, fflush, fileno and zero-length fread/fwrite leave it so;
    • fwide(+1) orients it wide and a later fwide(-1) keeps it wide;
    • fputc and putc_unlocked orient a stream to bytes, and a byte read keeps it so;
    • fputwc and fgetwc orient a stream wide, fgetwc even when it hits end of file;
    • freopen clears the orientation;
    • ungetwc(WEOF), fgets with size 0 and fgetws with size 0 still orient the stream;
    • vfscanf and vfscanf_s orient the stream to bytes at end of file, vfprintf_s orients it to bytes and vfwprintf_s to wide.
  • It fails on main, where fwide_nid_postfix does not exist.
  • Eight mutations each fail the test: dropping the orientation from fputc, putc_unlocked, ungetwc, fgets or fgetws, keeping it across freopen, letting fwide replace an established orientation, and orienting before the zero-length check in fread. They were run before the latest rebase.
  • On current main (rebased, a12f8fc4d3), 1794 of the 1799 tests outside the AGC, shader, VideoOut and Vulkan groups pass (ctest -E 'agc|shader|video_out|vulkan'), including public_headers and the stream tests guest_wide_formatting, guest_wide_conversion, guest_wide_stream_scan, guest_standard_streams*, file_streams and guest_formatting. The other five are network tests that need an IPv6 loopback this host lacks; they pass in a network namespace with one. Removing the orientation call from the new vfprintf_s, vfscanf_s or vfwprintf_s paths fails guest_fwide.
  • Windows (wachi35676's run, head 5e32fdc2a5 merged onto main, WinLibs GCC 15.2.0, plus WSL2 Ubuntu 24.04 with GCC 13.3): guest_fwide builds with MinGW and passes 3 of 3 on both hosts, as do eight neighbouring stream tests. With the touched libc files from main, guest_fwide fails on both and the other eight still pass.
  • tools/check_conventions.py --base origin/main passes. tools/pr_overlap.py reports two conflicts. #10139 adds its fpurge entry at the same place in docs/dev/debt/libc.md, so whichever lands second keeps both entries. #10405 changes the same fgetwc and FileStream lines; its author proposed that this PR lands first and #10405 rebases onto it. #8982 is merged, so vfscanf now orients before scanning, as fscanf does. The orientation calls are placed so that they do not touch the lines #4627, #7447 and #8982 change. The 19 PRs it could not compare (#3965, #5021, #5303, #6044, #7081, #7201, #7648, #7715, #8150, #8306, #8965, #9133, #9408, #9447, #9526, #9527, #9552, #9669, #9929) were checked by hand: none adds fwide or stream orientation.

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
  • 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
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4987014795 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10324). Originally posted by [MarrasFederico](https://github.com/MarrasFederico) on 2026-10-23T17:51:49Z. --- ### What `fwide` (NID `w6Aq68dFoP4`) is exported by the PS5's `libSceLibcInternal` ([3.20 inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceLibcInternal.c#L17666)) but AnyPS5's libc did not provide it, so a title importing it could not resolve the symbol. It now follows [FreeBSD 11.4 `fwide.c`](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libc/stdio/fwide.c#L38-L51). Each stream keeps an orientation: 0 (none), -1 (byte) or 1 (wide). `fwide(stream, 0)` returns it, and a nonzero mode orients a stream that has none yet, wide for a positive mode and byte for a negative one, and never changes an established orientation. The I/O calls set it the way FreeBSD's `ORIENT(fp, o)` does: - **Byte orientation** comes from the first byte call, as FreeBSD's `ORIENT` does; `fgets` orients before it checks its size, as in FreeBSD. That covers `fgetc`/`getc`, `getc_unlocked`, `ungetc`, `fgets`, `fread`, `fputc`/`putc`, `putc_unlocked`, `fputs`, `puts`, `fwrite`, `vfprintf`, the `printf` family, `fscanf`/`vfscanf` and `perror` on stderr. The wrappers that forward to them (`getchar`, `putchar`, `__srget`, `__swbuf`, `getw`, `putw`, `fprintf`, `scanf`) inherit it. - **Wide orientation** comes from the first wide call, `ungetwc` and `fgetws` also before their argument checks: `fgetwc`, `ungetwc`, `fgetws`, `fputwc`, `fputws`, `vfwprintf`, `wprintf` and `vfwscanf`/`vfwscanf_s`, plus their wrappers. - **No orientation** comes from a zero-length `fread` or `fwrite`, which return before `ORIENT` in FreeBSD, or from metadata calls such as `fseek`, `fflush` and `fileno`. - A successful `freopen` clears the orientation, as FreeBSD's `freopen.c` does, and so does closing a stream. The `printf` and `wprintf` families, `perror` and `putw` orient the stream as C11 7.21.2p4 requires. FreeBSD 11.4 differs here: its `vfprintf.c`, `vfwprintf.c`, `perror.c` and `putw.c` have no `ORIENT`, and `vfwprintf` can even orient a fresh stream to bytes through `__swbuf`. As in FreeBSD, the orientation only answers `fwide`: a byte call on a wide stream still runs. The debt entry records the C11 choice and that nothing was measured on a console. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Ubuntu 26.04.1, kernel 7.0.0-38, GCC 15.2.0, Release, full build with `BUILD_TESTING=ON`. Windows was not compiled here; wachi35676's Windows run is below. No title was run. - New `guest_fwide` test, which loads the built libc and covers: - a new stream is unoriented, and `fseek`, `fflush`, `fileno` and zero-length `fread`/`fwrite` leave it so; - `fwide(+1)` orients it wide and a later `fwide(-1)` keeps it wide; - `fputc` and `putc_unlocked` orient a stream to bytes, and a byte read keeps it so; - `fputwc` and `fgetwc` orient a stream wide, `fgetwc` even when it hits end of file; - `freopen` clears the orientation; - `ungetwc(WEOF)`, `fgets` with size 0 and `fgetws` with size 0 still orient the stream; - `vfscanf` and `vfscanf_s` orient the stream to bytes at end of file, `vfprintf_s` orients it to bytes and `vfwprintf_s` to wide. - It fails on `main`, where `fwide_nid_postfix` does not exist. - Eight mutations each fail the test: dropping the orientation from `fputc`, `putc_unlocked`, `ungetwc`, `fgets` or `fgetws`, keeping it across `freopen`, letting `fwide` replace an established orientation, and orienting before the zero-length check in `fread`. They were run before the latest rebase. - On current `main` (rebased, a12f8fc4d3), 1794 of the 1799 tests outside the AGC, shader, VideoOut and Vulkan groups pass (`ctest -E 'agc|shader|video_out|vulkan'`), including `public_headers` and the stream tests `guest_wide_formatting`, `guest_wide_conversion`, `guest_wide_stream_scan`, `guest_standard_streams*`, `file_streams` and `guest_formatting`. The other five are network tests that need an IPv6 loopback this host lacks; they pass in a network namespace with one. Removing the orientation call from the new `vfprintf_s`, `vfscanf_s` or `vfwprintf_s` paths fails `guest_fwide`. - **Windows** ([wachi35676's run](https://github.com/boykopovar/AnyPS5/pull/10324#issuecomment-6405790544), head `5e32fdc2a5` merged onto `main`, WinLibs GCC 15.2.0, plus WSL2 Ubuntu 24.04 with GCC 13.3): `guest_fwide` builds with MinGW and passes 3 of 3 on both hosts, as do eight neighbouring stream tests. With the touched libc files from `main`, `guest_fwide` fails on both and the other eight still pass. - `tools/check_conventions.py --base origin/main` passes. `tools/pr_overlap.py` reports two conflicts. #10139 adds its `fpurge` entry at the same place in `docs/dev/debt/libc.md`, so whichever lands second keeps both entries. #10405 changes the same `fgetwc` and `FileStream` lines; its author proposed that this PR lands first and #10405 rebases onto it. #8982 is merged, so `vfscanf` now orients before scanning, as `fscanf` does. The orientation calls are placed so that they do not touch the lines #4627, #7447 and #8982 change. The 19 PRs it could not compare (#3965, #5021, #5303, #6044, #7081, #7201, #7648, #7715, #8150, #8306, #8965, #9133, #9408, #9447, #9526, #9527, #9552, #9669, #9929) were checked by hand: none adds `fwide` or stream orientation. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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) - [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 <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no -->
harisibrar1 commented 2026-10-24 01:12:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by harisibrar1 on 2026-10-24T01:12:39Z.

Review: COMMENTED


Checked against main 11d6efa06c and FreeBSD 11.4 lib/libc/stdio (fwide.c, local.h, vfprintf.c, vfwprintf.c, wbuf.c, perror.c, putw.c, ungetwc.c, fgets.c, fgetws.c, freopen.c):

  • It still merges with main, and I couldn't find a FILE entry point on main that is missing an orientation call; the wrappers all forward to oriented functions. The CAS in Orientation() matches fwide.c's "only set if 0" rule, and the reset in Reopen matches freopen.c L188.
  • The debt entry says formatted calls orient "as in FreeBSD's ORIENT", but 11.4's vfprintf.c and vfwprintf.c have no ORIENT, perror.c writes with _writev and doesn't touch stderr's orientation, and putw.c goes straight to __sfvwrite. vfwprintf writes through __sputc, whose __swbuf runs ORIENT(fp, -1) (wbuf.c L69). So, reading the source, fprintf(fp, "x"); fwide(fp, 0) would give 0 there, and fwprintf never gives 1. I couldn't run this. Following C11 7.21.2p4 seems the better choice, but could the entry say that the formatted functions, perror and putw follow C11 rather than FreeBSD?
  • In FreeBSD, ungetwc (L80), fgets (L60) and fgetws (L57) orient before their argument checks. Here ungetwc(WEOF, fp), fgets(buf, 0, fp) and fgetws(buf, 0, fp) return early and leave the stream unoriented: fwide(fp, 0) gives 0 where FreeBSD gives 1, -1 and 1. Moving the call up would match.
  • Nit: vfscanf_nid_postfix orients after the scan, while fscanf_nid_postfix orients before it (FreeBSD vfscanf.c L482 orients before).

Reviewed with AI assistance (Claude Code); the checks above were run locally on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5636045339 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10324#pullrequestreview-5636045339). Originally posted by [harisibrar1](https://github.com/harisibrar1) on 2026-10-24T01:12:39Z. **Review:** COMMENTED --- Checked against main 11d6efa06c and FreeBSD 11.4 `lib/libc/stdio` (fwide.c, local.h, vfprintf.c, vfwprintf.c, wbuf.c, perror.c, putw.c, ungetwc.c, fgets.c, fgetws.c, freopen.c): - It still merges with main, and I couldn't find a FILE entry point on main that is missing an orientation call; the wrappers all forward to oriented functions. The CAS in `Orientation()` matches `fwide.c`'s "only set if 0" rule, and the reset in `Reopen` matches `freopen.c` L188. - The debt entry says formatted calls orient "as in FreeBSD's `ORIENT`", but 11.4's `vfprintf.c` and `vfwprintf.c` have no `ORIENT`, `perror.c` writes with `_writev` and doesn't touch stderr's orientation, and `putw.c` goes straight to `__sfvwrite`. `vfwprintf` writes through `__sputc`, whose `__swbuf` runs `ORIENT(fp, -1)` (wbuf.c L69). So, reading the source, `fprintf(fp, "x"); fwide(fp, 0)` would give 0 there, and `fwprintf` never gives 1. I couldn't run this. Following C11 7.21.2p4 seems the better choice, but could the entry say that the formatted functions, `perror` and `putw` follow C11 rather than FreeBSD? - In FreeBSD, `ungetwc` (L80), `fgets` (L60) and `fgetws` (L57) orient before their argument checks. Here `ungetwc(WEOF, fp)`, `fgets(buf, 0, fp)` and `fgetws(buf, 0, fp)` return early and leave the stream unoriented: `fwide(fp, 0)` gives 0 where FreeBSD gives 1, -1 and 1. Moving the call up would match. - Nit: `vfscanf_nid_postfix` orients after the scan, while `fscanf_nid_postfix` orients before it (FreeBSD `vfscanf.c` L482 orients before). Reviewed with AI assistance (Claude Code); the checks above were run locally on my machine.
MarcZX10 commented 2026-10-24 21:07:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-24T21:07:30Z.

Review: CHANGES_REQUESTED


Please rebase this branch onto the current main, as required by CONTRIBUTING.md. The current main is 6,761 commits beyond the branch base, and the full test run in the PR description was run against the older base; the hosted product-test jobs are skipped for this change.

One remaining behavior question from the earlier review: vfscanf_nid_postfix records byte orientation only after scanning returns, while fscanf_nid_postfix does it before scanning. An unoriented stream should acquire byte orientation when the byte I/O function is applied, including when scanning exits through an unsupported-conversion exception. Could you move the call before the scan and add a focused regression test? If #8982 is the only reason the hunk cannot move cleanly, please note the dependency and preserve the orientation behavior when rebasing.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5640032160 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10324#pullrequestreview-5640032160). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-24T21:07:30Z. **Review:** CHANGES_REQUESTED --- Please rebase this branch onto the current `main`, as required by CONTRIBUTING.md. The current main is 6,761 commits beyond the branch base, and the full test run in the PR description was run against the older base; the hosted product-test jobs are skipped for this change. One remaining behavior question from the earlier review: `vfscanf_nid_postfix` records byte orientation only after scanning returns, while `fscanf_nid_postfix` does it before scanning. An unoriented stream should acquire byte orientation when the byte I/O function is applied, including when scanning exits through an unsupported-conversion exception. Could you move the call before the scan and add a focused regression test? If #8982 is the only reason the hunk cannot move cleanly, please note the dependency and preserve the orientation behavior when rebasing.
MarcZX10 commented 2026-10-29 23:07:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T23:07:04Z.

Review: CHANGES_REQUESTED


Re-checked — new head, changes requested

The requested fwide behavior and Windows test evidence are now present on head 5e32fdc2a5ccd4050a6a2e7f46f94e31966f8cca, but this head conflicts with current main in six files.

What I ran

Reviewed head 5e32fdc2a5ccd4050a6a2e7f46f94e31966f8cca against PR base acbfd7c7fe3fd5a10039719051e1d3919954d65e; current main is dc38224141e0b6096007b876b4c42fc9144d11b8. The merge preview is conflicted. Local checks ran in Linux; no compiler or build was invoked.

git merge-tree --write-tree refs/remotes/upstream/main refs/review/pr-10324-current
git diff --check refs/remotes/upstream/main...refs/review/pr-10324-current
python3 tools/check_conventions.py --base refs/remotes/upstream/main --head refs/review/pr-10324-current
gh pr checks 10324 --repo boykopovar/AnyPS5
gh run view 40182744266 --repo boykopovar/AnyPS5 --json headSha,status,conclusion,displayTitle

Results

Check Result
Current-main merge preview Conflicts in FileStream.hpp, FileAndHeap.cpp, Formatting.cpp, FormattingWide.cpp, StandardStreams.cpp and libc.md
Diff check Passed; no output
Repository conventions Passed
Hosted checks Conventions, eligibility, labels, register-context, relinker matrix, relinker-asan, write-watch and report passed on the exact head; Linux and Windows product jobs skipped
Focused tests Author reports guest_fwide and public_headers pass, and the eight neighboring stream tests pass 3/3 on Windows and Linux; not independently run here
Unedited local check output
CONFLICT (content): Merge conflict in core/libs/prx/libc/include/FileStream.hpp
CONFLICT (content): Merge conflict in core/libs/prx/libc/src/FileAndHeap.cpp
CONFLICT (content): Merge conflict in core/libs/prx/libc/src/Formatting.cpp
CONFLICT (content): Merge conflict in core/libs/prx/libc/src/FormattingWide.cpp
CONFLICT (content): Merge conflict in core/libs/prx/libc/src/StandardStreams.cpp
CONFLICT (content): Merge conflict in docs/dev/debt/libc.md
All conventions checks passed.

Findings

Blocking

  • The current head does not merge cleanly with main, so the orientation changes cannot yet be checked in the current integration context. Please resolve the six conflicts, preserving both the current stream changes and fwide behavior, then rerun the focused guest_fwide, public_headers, and neighboring stream tests on the rebased head.

Non-blocking

The earlier review concerns about orienting before the vfscanf scan and removing the invalid %ls assertion appear addressed in the current source and tests. The reported test runs are author-provided, not local runs.

Sources

Not verified

I did not build or run tests locally, or test console behavior. Hosted product Linux and Windows jobs skipped; full test results are author-reported.

To get this to a good state

Please resolve the six conflicts against dc38224141e0b6096007b876b4c42fc9144d11b8 and rerun the named focused tests on the resulting head. I will rerun the merge preview, diff check and conventions on that exact update.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5706118943 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10324#pullrequestreview-5706118943). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T23:07:04Z. **Review:** CHANGES_REQUESTED --- # Re-checked — new head, changes requested The requested `fwide` behavior and Windows test evidence are now present on head `5e32fdc2a5ccd4050a6a2e7f46f94e31966f8cca`, but this head conflicts with current `main` in six files. ## What I ran Reviewed head `5e32fdc2a5ccd4050a6a2e7f46f94e31966f8cca` against PR base `acbfd7c7fe3fd5a10039719051e1d3919954d65e`; current `main` is `dc38224141e0b6096007b876b4c42fc9144d11b8`. The merge preview is conflicted. Local checks ran in Linux; no compiler or build was invoked. ```sh git merge-tree --write-tree refs/remotes/upstream/main refs/review/pr-10324-current git diff --check refs/remotes/upstream/main...refs/review/pr-10324-current python3 tools/check_conventions.py --base refs/remotes/upstream/main --head refs/review/pr-10324-current gh pr checks 10324 --repo boykopovar/AnyPS5 gh run view 40182744266 --repo boykopovar/AnyPS5 --json headSha,status,conclusion,displayTitle ``` ## Results | Check | Result | |---|---| | Current-main merge preview | Conflicts in `FileStream.hpp`, `FileAndHeap.cpp`, `Formatting.cpp`, `FormattingWide.cpp`, `StandardStreams.cpp` and `libc.md` | | Diff check | Passed; no output | | Repository conventions | Passed | | Hosted checks | Conventions, eligibility, labels, register-context, relinker matrix, relinker-asan, write-watch and report passed on the exact head; Linux and Windows product jobs skipped | | Focused tests | Author reports `guest_fwide` and `public_headers` pass, and the eight neighboring stream tests pass 3/3 on Windows and Linux; not independently run here | <details> <summary>Unedited local check output</summary> ```text CONFLICT (content): Merge conflict in core/libs/prx/libc/include/FileStream.hpp CONFLICT (content): Merge conflict in core/libs/prx/libc/src/FileAndHeap.cpp CONFLICT (content): Merge conflict in core/libs/prx/libc/src/Formatting.cpp CONFLICT (content): Merge conflict in core/libs/prx/libc/src/FormattingWide.cpp CONFLICT (content): Merge conflict in core/libs/prx/libc/src/StandardStreams.cpp CONFLICT (content): Merge conflict in docs/dev/debt/libc.md All conventions checks passed. ``` </details> ## Findings ### Blocking - The current head does not merge cleanly with `main`, so the orientation changes cannot yet be checked in the current integration context. Please resolve the six conflicts, preserving both the current stream changes and `fwide` behavior, then rerun the focused `guest_fwide`, `public_headers`, and neighboring stream tests on the rebased head. ### Non-blocking The earlier review concerns about orienting before the `vfscanf` scan and removing the invalid `%ls` assertion appear addressed in the current source and tests. The reported test runs are author-provided, not local runs. ## Sources - [Current `vfscanf` orientation change at this head](https://github.com/boykopovar/AnyPS5/blob/5e32fdc2a5ccd4050a6a2e7f46f94e31966f8cca/core/libs/prx/libc/src/ScanningWide.cpp) - [New `fwide` tests at this head](https://github.com/boykopovar/AnyPS5/blob/5e32fdc2a5ccd4050a6a2e7f46f94e31966f8cca/core/libs/tests/GuestFwide.cpp) - [Author's Windows and Linux focused test report](https://github.com/boykopovar/AnyPS5/pull/10324#issuecomment-6405790544) ## Not verified I did not build or run tests locally, or test console behavior. Hosted product Linux and Windows jobs skipped; full test results are author-reported. ## To get this to a good state Please resolve the six conflicts against `dc38224141e0b6096007b876b4c42fc9144d11b8` and rerun the named focused tests on the resulting head. I will rerun the merge preview, diff check and conventions on that exact update.
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!10324
No description provided.