Skip to content

fix(libc): print %C, %S and a zero %lc in the printf families as titles' libc.prx does - #12397

Merged
oneandonlydean merged 5 commits into
boykopovar:mainfrom
JJenkx:windows/libc-printf-wide-c-locale
Nov 6, 2026
Merged

oneandonlydean merged 5 commits into
boykopovar:mainfrom
JJenkx:windows/libc-printf-wide-c-locale

Conversation

@JJenkx

@JJenkx JJenkx commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Current refresh: head 51f8ea279c7dd2391fd39e4265579bb45b604b01 includes main 151a2cb6e274; scoped Linux CPU tests12/12, main24/24, public headers and regression controls pass. Current evidence is in the refresh comment; earlier platform reports retain their original pins.

What

Titles' own libc.prx (PPSA07923 and PPSA05916 agree on every row) prints these narrow printf conversions differently from here:

format argument titles before this PR
%C 0xe9 %C (2 bytes), no argument taken é (as %lc)
%5C| / %-3C| 0xe9 %C| / %C | é| / é |
%hC, %lC, %#C 0xe9 %C throws (%hC, %lC)
%C%d 65 %C65 A and the next argument
%lc 0 nothing, returns 0 a null byte, returns 1
%3lc| 0 |: the width is ignored two spaces and a null byte
%hS|, %lS| u"aé€" as %S throws

So %C is one of the unknown conversions this library already prints as % and its letter, padded to the width, without taking an argument (#11907). The change:

  • C leaves KnownConversions;
  • ApplicableLength drops the length of S;
  • a %lc of 0 writes nothing.

%ls and %S retain their previously measured handling. The %lc adapter now ignores precision before writing the whole UTF-8 sequence and keeps byte-based field width: for U+00E9, %.1lc writes c3 a9, and %5lc writes three spaces followed by c3 a9. A zero wide character still writes nothing, including width/precision combinations.

swprintf (second commit): in the titles' wide formatter neither %C nor %S is a conversion, with or without a length. %C|%5C|%hC|%S|%-3S|%lS%d with 7 prints %C| %C|%C|%S|%S |%S7. Here both formatted their argument as %lc/%ls; they now take #11907's unknown-conversion path. %lc, %ls, %hs and valid UTF-8 %s already matched. A wide %c or %s of bytes from 0x80 up is handled by #9964 and #9953, not here.

One existing check changed: "%2$ls|%1$C|%3$d" expected %1$C to print A. Positional %C wasn't measured, so that check now uses %1$lc; its purpose (a positional wide argument) is unchanged.

Tested

Current-main integration — 2026-11-04. Head c9d920d13a54745eba08af179a5cba8a8421eb85 includes main b11c7bf84f5d2f636ff60166cc3371bd071e24d5 and preserves previous public commits and attribution/licence notices. Retains the measured nonconsuming %C/literal %S behavior and main’s newer invalid multibyte character guard. The former #11907 prerequisite is now merged.

Linux x86-64, GCC 16.2.1, Ninja Release, BUILD_TESTING=ON: rebuilt actual libc/Ampr and selected executables. guest_formatting, guest_wide_formatting, guest_stdio_variadic, guest_wide_conversion each pass 3/3 (12 runtime passes, zero skips); public_headers, conventions and whitespace checks pass. Pinned main passes all 17 selected baseline groups 3/3 (51 passes) plus headers. Before/after dependency checks agree: 34 recursive trees and 31,551 tracked blobs, zero errors; the update=none QuickJS test262 corpus is explicitly excluded from these library inputs.

Source/parent/gitlink proofs, library/test hashes, raw logs/JUnit and head-leased push receipts: qualification archive, SHA-256 7c347f620951ad6f39068740750949212c6412815da094a46a96eca1d15c8bbf (download verified). Older platform, stress, negative-control and reference reports retain their original pins; no new Windows/macOS, full-suite, SDK-module, console, title/GPU or performance claim. AI-assisted: yes (Codex).

Earlier dated qualifications below retain their original source/platform pins.

Latest Linux qualification (2026-11-02): exact head 4816b33918cad6ec1bd9b963aecea143f27fac49 on pinned main a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8. Uses the actual updated #11907 parent. Preserves measured narrow/wide %C/%S and length behavior, main’s UTF-8 helper/error handling, all added main fixtures and both sets of child regressions.

5 focused groups repeated three times: 15 passes, zero skips. Public headers, conventions, whitespace, raw libc/test builds and the actual production NID-patching command passed. MinGW syntax passed for Formatting.cpp, FormattingWide.cpp. No new Windows/macOS runtime, bundled-SDK reference, native title, GPU or performance claim; earlier evidence retains its historical pins.

Earlier pinned qualifications follow.

Current-main Linux integration at 464a7f3e28988bf785c2ac267f883843699a8006: merged main bc3e33f4e334996ab9ba5cbf8544942465be18f3 and rebuilt the actual libc plus guest_formatting, guest_wide_formatting, guest_stdio_variadic, guest_scan_count. Each suite passes three consecutive executions (12 passes, zero skips). Conventions and diff checks pass. The libc debt conflict is resolved by retaining the updated printf description and main’s new asinh entry. Published by a normal fast-forward, retaining the previous public head as an ancestor. The latest-main ba5b5330b3 merge preview is also clean; the executed build remains pinned to bc3e33f4e3. Earlier Windows/title-reference measurements below retain their original pins; this is not a new Windows or SDK-oracle run.

Raw integrated-source proof, test/JUnit logs and commands, SHA-256 54e3d599fbfc9317fe9d88d713a7fa2516d887652579c710df445cc44aba098c (download verified). AI-assisted: yes (Codex).

Earlier qualification at the original pins:

Exact follow-up head 41cfd4560a227a30c4848186ba6b8568998835e6:

  • Actual Linux and Windows libc libraries each pass guest_formatting, guest_wide_formatting, and guest_safe_errors repeated three times: 9 executions per host.
  • Owned converted PPSA03766 and PPSA07923 libc references agree on 48 snprintf rows covering zero, ASCII, two/three-byte characters, precision0/1/2, width, left alignment and surrounding text. Both exact candidate libraries match all48 rows, including return count, first16 bytes/canary and errno. No normalization was needed.
  • Additional Linux snprintf_s and sprintf_s replays each match48 rows against both references. Windows replay covers snprintf; its focused suite also checks shared safe-formatting behavior.
  • Restoring the published production header fails the new actual-library Linux formatting regression and differs13/48 reference rows. Restoring the fix rebuilds cleanly and passes all9 executions again.
  • SDK width for %5lc/U+00E9 is five bytes: three spaces plus the two-byte character. The fix preserves this measured behavior while removing precision truncation.

Probe sources, raw rows, both-host logs, JUnit, patch and negative controls, SHA-256 082d9f9ec17d5afc4ebe582699b77cebf45d5529d2b9a72b0813990e0aa34468 (download verified). References ran on Linux, not a console; other locales/SDKs and native-title effects remain unverified. This qualifies the published PR branch, not a current-main integration; the separate rebase refresh remains outstanding. No FPS claim.

Inherited title-side length comparisons (#11893, unchanged here). These are the earlier Windows-host calls into the bundled libc.prx from PPSA07923 and PPSA13934, not new PS5 measurements. Both title libraries gave the following outcomes for the narrow and wide cases listed in #11893's Tested section:

Case Bundled-title result
%Ld of the 32-bit 0x89abcdef pattern -1985229329 (int, not long long)
%hhc of 0x44 D
%hf of 1.5 1.500000
%hp of pointer 0x1234 1234
a%Ln returns 1 and stores an int count of 1; the adjacent bytes remain unchanged

The parent report's narrow matrix covers L on d/i/u/x/X/o/n, every length on c/s/n, the listed floating-length combinations and h/hh/ll/L/z on p; its explicit swprintf set is %Ld %Lx %hf %zg %hp %Lp %hhc %Lc %hhs %Ls %hs %Ln. Each new expectation was checked against both bundled libraries. #11893's follow-up tests use the matching int/guarded-int argument types.

The actual parent is updated #11907 8cac89f55a87191359f990f27952ecc1dd3cfbfe on main a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8. Earlier #11893/#11907 pins below describe historical measurements, not ancestry claims for this linear rebase. Against #11907, this PR adds only S to ApplicableLength's pointer-like case; the %Ld/%hhc/%hf/%hp/%Ln behavior is inherited unchanged. The %hS/%lS measurements for this PR remain separately listed above. Positional formats remain a CPU regression check, rather than a new title-side measurement.

Windows 11 Enterprise 10.0.22621, Ryzen 9 5950X, WinLibs GCC 15.2.0 UCRT r7, Ninja, Release, BUILD_TESTING=ON, on #11907's head 15b33e8e76.

Not tested on Linux or macOS. On Linux, RequiresGuestFormatting already sends formats with %C and %lc to the same formatter, and now %hS/%lS too, since ApplicableLength changes their length.

Overlap: tools/pr_overlap.py lists the PRs that overlap #11893 and #11907, whose commits come first here. For this commit's own lines it reports only #11733 and #11737, which add debt entries next to the narrow-printf one; neither edits that entry.

Review correction and inherited evidence (2026-10-28)

@MarcZX10 Fixed the positional %C argument read in d017d6a6a4da133ee82577db92df03abaa5d4b66. C is now absent from NumberedArgumentClasses as well as KnownConversions. The regression uses %1$C, %2$C, %1$hC and padded %1$5C with valid VaList descriptors whose unused argument-storage pointers are null, checking both register and overflow paths, the output and that the caller's descriptor is unchanged. %1$C%d with one integer must print %C7.

Linux x86-64, Arch Linux 7.2.9, Ryzen 9 7950X, GCC 16.2.1, Ninja Release: all four groups (guest_formatting, guest_wide_formatting, guest_stdio_variadic, guest_scan_count) pass three times on the original reviewed head and three times on the fixed head (12/12 each, zero skips). With only the new regression and the old classifier, guest_formatting faults on the eager argument read; the other three groups pass. Conventions and whitespace checks pass. This is CPU validation, not a new title-side measurement of positional formats.

The ignored-length cases are inherited from #11893, rather than introduced here: historical head 17c950f0a54f8e44ec1e7561034ab6d7086ef824 supplied the measured basis through #11907 at 15b33e8e763cc814c74aa122a83b34c8cf8fe25e. #11893's Tested section records the earlier Windows comparisons with PPSA07923 and PPSA13934: the narrow length matrix, plus wide %Ld %Lx %hf %zg %hp %Lp %hhc %Lc %hhs %Ls %hs %Ln. Comparing this PR with #11907 changes ApplicableLength only for S, whose %hS/%lS measurements are already listed here. The inherited length behavior and its secure-format debt remain intact.

AI-assisted: yes (Codex).

Exact patch, source/dependency proofs, inherited measurements, original/test-only/fixed logs and JUnit, SHA-256 a535eeb4a7654869751db4be670d15c91bd2c9c1e0a03953ca2ee915f4bf1633. Please re-review the fixed classifier and the existing parent measurements. No new Windows, macOS or console measurement is claimed.

Current Linux qualification — 2026-10-29

Integrated current main 157b02c4f1803e9d2cd757677b9a805961203fc4 by normal fast-forward merge; earlier measured fixes, tests and actual parent ancestry are retained.

New head: 078102a03f127cd5dee128d1244195d4034916e4. The merge is automatic. The precision/width and positional unknown-conversion regressions remain, alongside main’s tests and entry-point calls.

Linux Release: guest_formatting, guest_wide_formatting, guest_stdio_variadic, guest_scan_count pass three repetitions (12 checks), plus the public-header audit, zero skips. Actual Formatting.cpp and FormattingWide.cpp, including WindowsFormatting.hpp, pass MinGW GCC16.2.0 cross syntax checking. Conventions report zero errors; any debt-length warnings are preserved in the logs. Whitespace and recursive submodule-pointer checks pass.

This is current-main Linux integration and Windows cross-compilation syntax evidence. Earlier actual Windows/title-library measurements retain their historical pins; no new Windows runtime, macOS, title, GPU or performance result is claimed. AI-assisted: yes.

Evidence: immutable Linux qualification bundle. Its SHA-256 is ca6b35926bcc6d3f21a9650517894c86b65594e2e2b653c5c32cd1c1de89c835. No fresh Windows runtime execution is claimed; older measurements retain their recorded source pins.

AI-assisted: yes (Codex).

Checklist

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The measured narrow-format behavior is well evidenced, but two parts of this diff remain unsettled:

  1. KnownConversions no longer contains C, and FormatWindows now prints %C without taking an argument, but NumberedArgumentClasses still classifies C as an integer conversion ("diouxXcCsSpn"). It eagerly fetches all classified positional arguments in FormatArguments::Number before FormatWindows handles the conversion. Thus a positional %1$C is still treated as requiring/fetching an argument even though the measured narrow %C consumes none; the existing positional test was changed to avoid this case and the PR says positional %C is unmeasured. Please remove C from that classifier or make positional %C fail conservatively until measured, and add a regression that pins the chosen behavior.

  2. The hardware comparison described here calls the titles’ snprintf NID. The diff also changes the separate FormatWide/swprintf path: it now ignores previously rejected lengths and prints unknown conversions rather than throwing. GuestWideFormatting tests encode these new outcomes, but I could not find a title-side swprintf comparison or other source for them. Please provide that evidence, or keep the wide changes at their previous conservative behavior and record the remaining wide-format gap as debt until measured.

Exact-head diff check, conventions, and test-registration checks pass (202 scripts). The Windows title-side and formatter evidence in the PR is useful for the narrow path; hosted checks for this head are still pending. I have not approved.

@JJenkx JJenkx changed the title fix(libc): print %C, %hS, %lS and a zero %lc as titles' libc.prx does fix(libc): print %C, %S and a zero %lc in the printf families as titles' libc.prx does Oct 28, 2026

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-up on exact head 0e1fc1e540baf0a466f8068839967b8b4599cedc. The new title-side swprintf comparison addresses my earlier wide-format evidence request. Two issues remain:

  1. In core/libs/prx/libc/include/WindowsFormatting.hpp, KnownConversions now excludes uppercase C, so FormatWindows prints %C without consuming an argument, but NumberedArgumentClasses still classifies C as an integer in "diouxXcCsSpn". FormatArguments::Number eagerly fetches every classified positional argument before formatting. Thus a positional %1$C still reads an argument even though %C is handled as non-consuming; the changed positional test avoids this case. Please remove C from that classifier (or conservatively reject positional %C) and add a regression that pins the intended no-consumption behavior.

  2. This update adds ApplicableLength behavior for unsupported length/conversion combinations in both narrow and wide formatting (%Ld, %hhc, %hf, %hp, %Ln, etc.). The PR's stated title comparisons cover %C, %lc, %S and unknown conversions, but I don't see a title-side measurement for those ignored-length cases. Unit expectations alone don't establish console behavior. Please provide matching title-side evidence for the new length cases and update Tested, or keep this change limited to the measured conversions and retain the previous conservative behavior for unmeasured combinations.

I have not run the formatter binaries locally: this worktree has no configured build tree, and the registration audit only confirms that 202 test scripts are registered. git diff --check, conventions and the script-registration audit pass. Hosted checks are pending; I am not approving.

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5021 core/libs/prx/libc/include/WindowsFormatting.hpp
core/libs/tests/Formatting.cpp
docs/dev/debt/libc.md
PR 6819 docs/dev/debt/libc.md
PR 7081 docs/dev/debt/libc.md
PR 7386 core/libs/tests/Formatting.cpp
docs/dev/debt/libc.md
PR 7447 docs/dev/debt/libc.md
PR 7715 docs/dev/debt/libc.md
PR 8150 docs/dev/debt/libc.md
PR 8965 docs/dev/debt/libc.md
PR 9340 core/libs/tests/Formatting.cpp
docs/dev/debt/libc.md
PR 9371 docs/dev/debt/libc.md
PR 9447 docs/dev/debt/libc.md
PR 9526 docs/dev/debt/libc.md
PR 10780 docs/dev/debt/libc.md
PR 11172 docs/dev/debt/libc.md
PR 11332 core/libs/prx/libc/include/WindowsFormatting.hpp
core/libs/tests/Formatting.cpp
docs/dev/debt/libc.md
PR 11724 docs/dev/debt/libc.md
PR 11726 core/libs/tests/Formatting.cpp
docs/dev/debt/libc.md
PR 11831 docs/dev/debt/libc.md
PR 12510 docs/dev/debt/libc.md
PR 12511 docs/dev/debt/libc.md
PR 12518 docs/dev/debt/libc.md
PR 12682 docs/dev/debt/libc.md
PR 12688 docs/dev/debt/libc.md
PR 12700 docs/dev/debt/libc.md
PR 12704 docs/dev/debt/libc.md
PR 12849 docs/dev/debt/libc.md
PR 12965 docs/dev/debt/libc.md
PR 13449 docs/dev/debt/libc.md
PR 13486 core/libs/prx/libc/include/WindowsFormatting.hpp
core/libs/tests/Formatting.cpp
docs/dev/debt/libc.md
PR 13794 docs/dev/debt/libc.md
PR 13804 docs/dev/debt/libc.md
PR 13809 docs/dev/debt/libc.md
PR 14085 docs/dev/debt/libc.md
PR 14212 docs/dev/debt/libc.md
PR 16004 docs/dev/debt/libc.md

@JJenkx

JJenkx commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

@MarcZX10 Fixed the positional %C argument read in d017d6a6a4da133ee82577db92df03abaa5d4b66. C is now absent from NumberedArgumentClasses as well as KnownConversions. The regression uses %1$C, %2$C, %1$hC and padded %1$5C with valid VaList descriptors whose unused argument-storage pointers are null, checking both register and overflow paths, the output and that the caller's descriptor is unchanged. %1$C%d with one integer must print %C7.

Linux x86-64, Arch Linux 7.2.9, Ryzen 9 7950X, GCC 16.2.1, Ninja Release: all four groups (guest_formatting, guest_wide_formatting, guest_stdio_variadic, guest_scan_count) pass three times on the original reviewed head and three times on the fixed head (12/12 each, zero skips). With only the new regression and the old classifier, guest_formatting faults on the eager argument read; the other three groups pass. Conventions and whitespace checks pass. This is CPU validation, not a new title-side measurement of positional formats.

The ignored-length cases are inherited from #11893, rather than introduced here: exact head 17c950f0a54f8e44ec1e7561034ab6d7086ef824 is an ancestor through #11907 at 15b33e8e763cc814c74aa122a83b34c8cf8fe25e. #11893's Tested section records the earlier Windows comparisons with PPSA07923 and PPSA13934: the narrow length matrix, plus wide %Ld %Lx %hf %zg %hp %Lp %hhc %Lc %hhs %Ls %hs %Ln. Comparing this PR with #11907 changes ApplicableLength only for S, whose %hS/%lS measurements are already listed here. The inherited length behavior and its secure-format debt remain intact.

AI-assisted: yes (Codex).

Exact patch, source/dependency proofs, inherited measurements, original/test-only/fixed logs and JUnit, SHA-256 a535eeb4a7654869751db4be670d15c91bd2c9c1e0a03953ca2ee915f4bf1633. Please re-review the fixed classifier and the existing parent measurements. No new Windows, macOS or console measurement is claimed.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-up on the new head : the positional-argument issue is fixed. Removing from and the new // regressions now match the stated non-consuming unknown-conversion behavior.

The other evidence gap remains: this PR changes for unsupported length/conversion combinations in both narrow and wide formatting. The title-side examples listed in the body cover // and /, but not combinations such as , , , or . The unit expectations alone do not establish the titles' behavior for these newly accepted formats. Please add title-side comparisons for the behavior being changed, or keep the previous conservative error path for combinations without evidence and cover the measured cases with regressions. I did not run the formatting binaries locally; the added regression source has not been executed in this review. No approval.

@MarcZX10

Copy link
Copy Markdown
Contributor

Correction to my immediately preceding review: shell quoting removed inline code tokens from the posted text. The intended content is:

On head d017d6a, the positional-argument issue is fixed: uppercase C is removed from NumberedArgumentClasses, and the new positional %C regressions cover non-consumption. The separate evidence gap remains. ApplicableLength now changes unsupported length/conversion handling in narrow and wide formatting. The title-side examples in the PR body cover %hC, %lC, %#C, %hS and %lS, but do not cover combinations such as %Ld, %hhc, %hf, %hp or %Ln. Unit expectations alone do not establish title behavior for those newly accepted formats. Please add title-side comparisons for the changed behavior, or retain the prior conservative error path for combinations without evidence and add regressions for measured cases. I did not run the formatting binaries locally. No approval.

@JJenkx

JJenkx commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

@MarcZX10 I have now inlined the existing title-side length table directly under Tested, including %Ld, %hhc, %hf, %hp and a%Ln, with the two measured bundled libraries and the narrow/wide matrix. These measurements are inherited from #11893; its exact head and #11907 are ancestors here, and this PR's own ApplicableLength delta only adds S. They are attributed earlier Windows-host library comparisons, not fresh console measurements. The linked source/ancestry proof and the current classifier regression logs remain in the preceding attachment. Please assess the inlined parent measurements for the remaining evidence request.

AI-assisted: yes.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@JJenkx the measurements are clear (libc.prx of two titles loaded natively, snprintf/swprintf called by NID eLdDw6l0-bU / nJz16JE1txM side by side, before/after counts) and the two own commits read correctly. One code bug and two debt points:

  1. NumberedArgumentClasses (WindowsFormatting.hpp:555) still lists C in "diouxXcCsSpn", so in a format containing $ it counts %C as an Integer argument, but FormatWindows no longer takes one. Number() pre-fetches every counted class from the va_list, so the classes drift from what the formatter consumes. Example, narrow or wide: "%2$d %C %f" with (1, 2, 3.5): classes are [I, I, I(C), D], so argument 3 (the double) is fetched as an integer, argument 4 is fetched past the real list, and %f reads the wrong slot. "%2$d %C" with (1, 2) fetches a third argument that was never passed. The same applies to %S in swprintf, where FormattingWide.cpp:118 uses the same scan and %S is now unknown (in the narrow family S still takes its argument, so only the wide one is affected). Please drop C from that string, and in the wide path skip S as well, and add tests such as FormatList(buf, n, "%2$d %C %f", 1, 2, 3.5) and the swprintf equivalent with %S. The test you changed to %1$lc to avoid %1$C is the case that shows this.
  2. Debt: the printf length modifiers entry (libc.md:209) lists the lengths that do not apply to c, s, floating conversions and p but not S, which ApplicableLength now also strips. The last sentence of the narrow-family entry you edited, "The _s forms throw for an unknown conversion, %m included", contradicts the conversions entry from fix(libc): print unknown printf conversions and ' as titles' libc.prx does #11907 ("in the _s forms too"); please make them agree. Positional %C (and %S in swprintf) is unmeasured, so say that in the entry as you did in the PR text.
  3. Stack: the first three commits are fix(libc): ignore printf length modifiers that do not apply, as titles' libc.prx does #11893 and fix(libc): print unknown printf conversions and ' as titles' libc.prx does #11907 (both still open); this PR can only land after them.

@MarcZX10

Copy link
Copy Markdown
Contributor

I rechecked the new head d017d6a6a4 and the inlined #11893 title-side length table. The positional classifier now excludes C, the new non-consuming positional regressions cover the register and overflow paths, and the inherited %Ld, %hhc, %hf, %hp and %Ln measurements address the specific length-evidence gap I raised. I also built and ran guest_formatting_tests, guest_wide_formatting_tests, guest_stdio_variadic_tests and guest_scan_count_tests from this head under qemu-x86_64 -cpu max; all four passed. git diff --check is clean and conventions pass. This is local emulation; it is not a new native title comparison.

One documentation item from the #oneandonlydean review remains: the libc debt entry should state that positional %C (and %S in swprintf) is unmeasured, as the PR body now does. The current conversion entry describes unknown conversions and discarded lengths but does not capture that limit. Please add that caveat to the entry. The PR also correctly lists #11907 and #11893 as dependencies. Hosted Windows, macOS and write-watch jobs are still pending, so I am not approving yet.

@JJenkx

JJenkx commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

@oneandonlydean thanks for the careful read. f2548977ea, on top of d017d6a6a4 (which dropped C for both families), covers the rest:

  1. Wide %S: NumberedArgumentClasses takes a wide flag, and FormatWide classifies without S. Your example, swprintf(u"%2$d %S %f", 1, 2, 3.5), now prints 2 %S 3.500000. With the call left as it was, guest_wide_formatting fails on it. The narrow family keeps S as an argument, as you noted.
  2. Debt:
  3. Stack: right, this lands after fix(libc): ignore printf length modifiers that do not apply, as titles' libc.prx does #11893 and fix(libc): print unknown printf conversions and ' as titles' libc.prx does #11907, as its Depends on says.

guest_formatting, guest_wide_formatting, guest_stdio_variadic and guest_scan_count pass in each of 3 runs (Windows 11 Enterprise 10.0.22621, WinLibs GCC 15.2.0 UCRT r7, Release).

AI-assisted: yes (Claude Code).

@JJenkx

JJenkx commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Linux run at this PR's exact head f2548977ea (f2548977ea559a13c157c8ad0e5109983745dccd), not merged onto anything else; its base on main is 8ff4baf534.

Arch Linux, kernel 7.2.9, Ryzen 9 7950X, g++ (GCC) 16.2.1 20260810, glibc 2.44, x86-64. Release, BUILD_TESTING=ON, Ninja -j4, private worktree.

  • ctest -R '^guest_(formatting|wide_formatting)$': passes in each of 3 runs (6 passes).

The PR conflicts with current main; I tested the head as published, not a merge.

@ebosido444-ai

Copy link
Copy Markdown
Contributor

Two cases the %lc rewrite does not cover, both from the same expression.

  1. core/libs/prx/libc/include/WindowsFormatting.hpp:688 — if (utf8[0] != 0) output.Value(spec + 's', utf8.c_str()); renders the wide character as a string, so spec's precision applies to bytes as well as width. A precision on %c is not part of the conversion, but a caller that passes one ("%.1lc" with 0x00e9) now gets one byte of a two-byte UTF-8 sequence, i.e. an invalid lead byte in the output. Width has the same problem in the other direction: %5lc with a two-byte character pads three spaces instead of four, because the field is measured in bytes rather than one character.

  2. The zero case is pinned only for width without precision: core/libs/tests/Formatting.cpp:166 asserts "%3lc|%-3lc|" with 0 gives "||". A row with a multi-byte character and a width ("%5lc" with 0x00e9 → " é", five characters) and a row with "%lc" for 0x00e9 proving two bytes are written would fail today and would have caught point 1.

If the bytes-not-characters reading is what the titles' libc.prx actually does, this needs the debt entry; if not, the %lc branch needs to build the field around the whole UTF-8 sequence.

JJenkx added a commit to JJenkx/AnyPS5 that referenced this pull request Oct 28, 2026
boykopovar#12397 makes the wide formatters print %S literally as titles' libc.prx
does, so this entry no longer states the old difference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-checked — new head, looks good

The new head resolves the debt-file conflict, preserves the measured formatting changes, and includes an exact-head Windows rerun with a negative control.

What I ran

  • Reviewed head 078102a03f127cd5dee128d1244195d4034916e4 against current main dfcc0e17cb254d08fec9ec120e362620795d59a0; the merge preview is clean.
  • Compared current-main changes since the author's integrated base 95137178d026 with the PR file list; no PR files changed in that interval.
  • Ran git diff --check upstream/main...refs/remotes/review/pr-12397; it passed with no output.
  • Read the author's Windows 11 focused formatting rerun and negative-control report on this head. I did not run a local compiler or formatting tests.
git fetch upstream main
git merge-tree --write-tree upstream/main refs/remotes/review/pr-12397
git diff --name-only 95137178d026..upstream/main
gh pr view 12397 -R boykopovar/AnyPS5 --json files --jq '.files[].path'
git diff --check upstream/main...refs/remotes/review/pr-12397
gh pr checks 12397 -R boykopovar/AnyPS5

Results

Check Result
Merge preview against current main Pass; clean tree 1f79a818608bd391470cb8472eac564da0f1e637
Main-path comparison since reported test base No changed PR files
Diff check Pass; no output
Hosted conventions, eligibility, labels, and report Pass
Author-reported Windows guest_formatting and guest_wide_formatting Pass 3/3 each on exact head
Hosted Windows and other platform checks Pending; hosted Linux product job is skipped
Unedited command output
1f79a818608bd391470cb8472eac564da0f1e637
conventions	pass	15s	https://github.com/boykopovar/AnyPS5/actions/runs/40880903467/job/123471831507
labels	pass	8s	https://github.com/boykopovar/AnyPS5/actions/runs/40880903392/job/123471830652
report	pass	49s	https://github.com/boykopovar/AnyPS5/actions/runs/40880911891/job/123471857888
eligibility	pass	7s	https://github.com/boykopovar/AnyPS5/actions/runs/40880911911/job/123472024744
windows	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/40880911911/job/123476310032
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/40880911911/job/123476312636

Negative control

Assertion Change made to code under test New test failed?
The measured narrow/wide conversion cases differ from main as reported Replaced the three changed formatter sources with main versions while keeping the tests Yes; author-reported

Findings

Blocking

None found in the reviewed head.

Non-blocking

The exact-head focused Windows run is author-reported, not independently reproduced. Hosted product Windows is still pending; Linux product tests are skipped.

Sources

Not verified

I did not independently run Linux, macOS, console, or firmware formatting tests, and I did not rerun the GTA/reference comparisons. The author's Windows run and title observations are reported evidence.

@MarcZX10

Copy link
Copy Markdown
Contributor

Correction — exact-head Windows report link

The Windows rerun citation in my review used the wrong comment ID; the report is here.

@JJenkx

JJenkx commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

Integrated current main 157b02c4f1803e9d2cd757677b9a805961203fc4 by normal fast-forward merge; earlier measured fixes, tests and actual parent ancestry are retained.

New head: 078102a03f127cd5dee128d1244195d4034916e4. The merge is automatic. The precision/width and positional unknown-conversion regressions remain, alongside main’s tests and entry-point calls.

Linux Release: guest_formatting, guest_wide_formatting, guest_stdio_variadic, guest_scan_count pass three repetitions (12 checks), plus the public-header audit, zero skips. Actual Formatting.cpp and FormattingWide.cpp, including WindowsFormatting.hpp, pass MinGW GCC16.2.0 cross syntax checking. Conventions report zero errors; any debt-length warnings are preserved in the logs. Whitespace and recursive submodule-pointer checks pass.

This is current-main Linux integration and Windows cross-compilation syntax evidence. Earlier actual Windows/title-library measurements retain their historical pins; no new Windows runtime, macOS, title, GPU or performance result is claimed. AI-assisted: yes.

Evidence: immutable Linux qualification bundle. Its SHA-256 is ca6b35926bcc6d3f21a9650517894c86b65594e2e2b653c5c32cd1c1de89c835. No fresh Windows runtime execution is claimed; older measurements retain their recorded source pins.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 29, 2026
@oneandonlydean oneandonlydean self-assigned this Oct 30, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 2, 2026
@JJenkx
JJenkx force-pushed the windows/libc-printf-wide-c-locale branch from 078102a to 4816b33 Compare November 2, 2026 17:57
@JJenkx

JJenkx commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Current-main qualification at 4816b33918cad6ec1bd9b963aecea143f27fac49, tested main a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8. Uses the actual updated #11907 parent. Preserves measured narrow/wide %C/%S and length behavior, main’s UTF-8 helper/error handling, all added main fixtures and both sets of child regressions.

Linux: guest_formatting, guest_wide_formatting, guest_stdio_variadic, guest_crt, file_streams, each three times: 15 passes, zero skips. Public headers, conventions, whitespace, raw production libc and test builds, and the production NID patch command pass. MinGW syntax passed for Formatting.cpp, FormattingWide.cpp. Main gitlinks and relevant fixtures/helpers are preserved.

No new Windows/macOS, console/reference-library, title, GPU or performance run is claimed. Earlier measurements and controls remain at their original pins. AI-assisted: yes (Codex).

Immutable source, command and test evidence, SHA-256 0e0231161112ecd15878b8abd7273e56dbc3644bf2506e3f10dd0c7d20be24eb (public download verified).

@github-actions github-actions Bot added needs rebase Conflicts with main, rebase needed and removed needs rebase Conflicts with main, rebase needed labels Nov 2, 2026
@JJenkx

JJenkx commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

Current-main integration — 2026-11-04. Head c9d920d13a54745eba08af179a5cba8a8421eb85 includes main b11c7bf84f5d2f636ff60166cc3371bd071e24d5 and preserves previous public commits and attribution/licence notices. Retains the measured nonconsuming %C/literal %S behavior and main’s newer invalid multibyte character guard. The former #11907 prerequisite is now merged.

Linux x86-64, GCC 16.2.1, Ninja Release, BUILD_TESTING=ON: rebuilt actual libc/Ampr and selected executables. guest_formatting, guest_wide_formatting, guest_stdio_variadic, guest_wide_conversion each pass 3/3 (12 runtime passes, zero skips); public_headers, conventions and whitespace checks pass. Pinned main passes all 17 selected baseline groups 3/3 (51 passes) plus headers. Before/after dependency checks agree: 34 recursive trees and 31,551 tracked blobs, zero errors; the update=none QuickJS test262 corpus is explicitly excluded from these library inputs.

Source/parent/gitlink proofs, library/test hashes, raw logs/JUnit and head-leased push receipts: qualification archive, SHA-256 7c347f620951ad6f39068740750949212c6412815da094a46a96eca1d15c8bbf (download verified). Older platform, stress, negative-control and reference reports retain their original pins; no new Windows/macOS, full-suite, SDK-module, console, title/GPU or performance claim. AI-assisted: yes (Codex).

@TechLevelZero

Copy link
Copy Markdown
Contributor

✅ AMD GPU test: passed

PR head c9d920d merged onto main b11c7bf · tested 2026-11-04 16:16 UTC · 25 min

GPU AMD Radeon RX 6300 (RADV NAVI24), driver Mesa 25.2.8-0ubuntu0.24.04.4, Vulkan 1.4.318
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-42-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 3,771 passed · 12 failed (0 new, 10 also fail on main, 2 unstable on main) · 62 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 3,845 of 3,894 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (1383 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 120.1 s, ⚠️ agc_driver_graphics_maps_fallback 67.1 s, ⚠️ agc_driver_graphics 61.6 s, ⚠️ public_headers 56.2 s, ⚠️ agc_driver_image_sample_unnormalized 51.7 s
Unstable on main (2, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_pipeline_journal: failed in 8 of the last 10 main runs
agc_driver_two_sample_alpha_to_coverage_sample_mask_export: failed in 3 of the last 10 main runs
Failing on main too (10, not counted against this PR)
agc_driver_alpha_to_coverage_sample_mask_export
agc_driver_guest_memory_lifetime_direct
agc_driver_image_table
agc_driver_native_depth_bda_clear
agc_driver_native_depth_buffer_clear
agc_driver_native_depth_clears
agc_driver_native_multisample_depth
agc_driver_submit_progress
guest_mmap_executable
guest_socket_options_multicast
Validation IDs already present on main (8 IDs in 803 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (803 tests): agc_compute_pipeline_replay, agc_driver, agc_driver_address_draw_space_reuse, agc_driver_address_draw_space_reuse_held, agc_driver_address_draw_space_reuse_off, agc_driver_address_draw_space_reuse_transitions, agc_driver_address_draw_space_reuse_verify, agc_driver_address_passes, and 795 more
VUID-vkCmdCopyImage-srcImage-01548 (11 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store_image_copy, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_plane_partially_unmapped_plane, agc_driver_depth_plane_unmapped_plane, and 3 more
VUID-vkCmdCopyImage-srcImage-01551 (11 tests): agc_driver_depth_clear_hle, agc_driver_depth_plane_cpu_write_after_memo, agc_driver_depth_plane_cpu_write_after_page_unwatch, agc_driver_depth_plane_cpu_write_after_partial_unwatch, agc_driver_depth_plane_partial_store_image_copy, agc_driver_depth_plane_partial_store_unimported, agc_driver_depth_plane_partially_unmapped_plane, agc_driver_depth_plane_unmapped_plane, and 3 more
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (2 tests): agc_driver_prepared_exports, agc_driver_srgb8_color_target
VUID-VkSamplerCreateInfo-addressModeU-01079 (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeU-parameter (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeV-parameter (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeW-parameter (1 test): agc_driver_image_gather_volume
Skipped (62)
agc_driver_bda_reads_shadowed_results: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_bda_reads_shadowed_results_per_build: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_copied_writer_label_order: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_copied_writer_label_order_drain: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_float16_unused_nan_payloads: skipped, the device has no native f16 conversions with RTE rounding and kept f16 denormals
agc_driver_gcn_display_present: skipped, no display: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
agc_driver_image_table_vouched_lookups: skipped, the device reports 4 of 4 host-imported pages written after a GPU read, so a watched imported table cannot be vouched for
agc_driver_linear_target_direct_write_completion: skipped, the device does not keep host imports write-watched, so no completion stamp over the target is tracked
agc_driver_ngg_vertex_wave_reduction: skipped, s3 describes a 32-lane wave only on 32-lane subgroups, and the device has 64 lanes
agc_driver_scattered_runs: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_sparse_dma_buf_import: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_unit_shadow: skipped, the device does not import watched host memory for unit shadows
agc_driver_unit_shadow_budget: skipped, the device does not import watched host memory for unit shadows
agc_driver_vertex_elected_atomic_max: skipped, the device runs vertex programs in subgroups, so they keep their cross-lane reductions
agc_host_import_sparse: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_idle_publish_wait: skipped, the device reports 4 of 4 host-imported pages written after a GPU read, so a forced watch of the import reads its submissions as CPU stores
agc_import_settle_initial_dcc: skipped, the device has no deferred settle of host imports: imports under 1 MiB wait for one only on Windows
agc_shadowed_key_stores: skipped, the device imports no watched host memory under a unit shadow
agc_small_tiled_shadow_label: skipped, host imports are unavailable: the test block is not imported and watched
agc_storage_clear_hand_over: skipped, the device imports no watched host memory for the clear-key hand-over
agc_storage_pending_key_refresh: skipped, refreshes over a pending key store are not testable here
agc_unit_shadow: skipped, the device does not import watched host memory for unit shadows
agc_unit_shadow_completion_store: skipped, the device reports watched host memory written when it imports or reads it
guest_http_uri_locale: 
guest_net_ctl: skipped, the host has no IPv4 address
guest_video_out_color_space: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_hdr: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_high_frame_rate: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_output_mode: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_resolution_status: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_wqhd_detection: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
video_out_flip_aftergp
Reproduce
git fetch origin c9d920d13a54745eba08af179a5cba8a8421eb85 b11c7bf84f5d2f636ff60166cc3371bd071e24d5
git checkout b11c7bf84f5d2f636ff60166cc3371bd071e24d5 && git merge --no-ff c9d920d13a54745eba08af179a5cba8a8421eb85
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 12 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 16 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

@github-actions github-actions Bot added needs rebase Conflicts with main, rebase needed and removed needs rebase Conflicts with main, rebase needed labels Nov 4, 2026
@JJenkx

JJenkx commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Refreshed to 51f8ea279c7dd2391fd39e4265579bb45b604b01 on pinned main 151a2cb6e274f594a09c8a2ca42f44af2e5c40d8, retaining the previous public head and upstream submodule revisions. Retains this PR's measured formatting behavior alongside main's updated msun asinh debt entry. Three focused probes supply valid arguments for both implementations: main returns A7 for %C%d, emits width/NUL content for zero %lc, and converts wide %S as text; this branch returns %C65, [] and literal %S. Each probe exits1 on main and0 on this branch using the same executable. The broader branch wide-format fixture segfaults with main's old semantics; that result is retained but the focused output mismatches provide the regression evidence.

Fresh Linux GCC16.2.1 Release qualification: actual libc CMake owner, relevant dependencies and fixtures build; four focused suites each pass three repetitions (12 passes, zero skips). Pinned main passes all eight selected suites three times (24 passes). Public-header audits pass for main and both branches; conventions and whitespace checks pass. Module selection is checked with ldd; frozen ZArchive/zstd build inputs and exact source/library hashes are recorded.

Source diffs, scoped build recipes, complete build/test/JUnit logs, header audits and regression controls, SHA-256 5920140d96fcd269765f55a87232590448da81c3f8cd68f6a0172917e21c6571; uploaded artifact downloaded and verified. This is scoped Linux CPU qualification, not a fresh full SDK, Windows/macOS, SDK-module, console, title/GPU or performance run. Earlier platform and reference measurements retain their original pins. AI-assisted: yes.

@github-actions github-actions Bot added needs rebase Conflicts with main, rebase needed and removed needs rebase Conflicts with main, rebase needed labels Nov 5, 2026
Brings in main 495b960. The only conflict was docs/dev/debt/libc.md; it keeps
main's entries and re-applies this branch's two debt edits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JJenkx

JJenkx commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

Refreshed onto current main 495b960d4b: head is now c615f9f43a, a merge commit on top of the previous head 51f8ea279c.

  • The conflict: only docs/dev/debt/libc.md. I kept main's entries and re-applied this branch's two debt edits: the updated narrow printf family line, and the printf length modifiers entry moved next to "printf family conversions".
  • Diff unchanged: the PR's own diff against main is file-for-file identical to before (git diff --numstat).

Windows check of c615f9f43a: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release. guest_formatting and guest_wide_formatting pass in 3 of 3 runs, none skipped, and tools/check_conventions.py passes.

AI-assisted: yes.

The merge of main dropped this branch's edit to the entry: the plain
forms also ignore any length on %S (ApplicableLength), as the
formatting tests check.

Co-authored-by: JJenkx <josh_jenkins@hotmail.com>
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 6, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

Hi @JJenkx,

Thanks for refreshing this against main. Your merge kept the main wording of the "printf length modifiers" entry in docs/dev/debt/libc.md, which ends at "any on %p", so it lost this branch's addition: the plain forms also ignore any length on %S (ApplicableLength in WindowsFormatting.hpp), as the formatting tests check. We pushed a small credited fix-up on your branch that puts " and %S" back at the end of that entry. No code change.

@oneandonlydean
oneandonlydean merged commit 6ddf209 into boykopovar:main Nov 6, 2026
23 checks passed
@JJenkx

JJenkx commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

Linux check of exact head d7547051f1: Arch Linux 7.2.11, GCC 16.2.1, Release, BUILD_TESTING=ON.

guest_formatting, guest_wide_formatting, guest_stdio_variadic, guest_wide_conversion and public_headers pass in 3 of 3 runs each (ctest --repeat until-fail:3), none skipped.

AI-assisted: yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants