feat(libc): implement Dinkumware wide conversion exports #3083
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3083"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-10T21:51:14Z.
What
Carry screamm's explicitly offered wide-conversion implementation from issue #3077. It adds
_WStoul,_Iswctypeandswscanf_s, with focused tests for wide classification, conversion errors and secure wide scanning. The original source commits and author attribution are preserved. This branch includes the prerequisite fix from PR #3082; it depends on that PR.Tested
The contributor reports Windows 11 Pro 26220 / WinLibs MinGW-w64 GCC 15.2.0 / Release full build including
libs;guest_wide_conversion,guest_math,guest_wide_strings,guest_rune_locale,guest_scan_countandguest_wide_formattingpassed 3/3, andctest -j8 -E "^agc_|video_out"passed 389/389. Linux runtime tests were not reported. In this session, conventions andgit diff --checkpassed; the local full CMake configure was blocked by the unavailable pinned SDL2 submodule commit.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T21:51:50Z.
Progress report (
262c031→51fca3c)📈 System libraries: 84.53% (+0.09%, +3 implemented functions)
✅ 3 implemented
_Iswctype_nid_postfix_WStoul_nid_postfixswscanf_s_nid_postfixImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T21:54:11Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)swscanf_s_nid_postfixImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-10T22:01:28Z.
Checked the three exports against the C11 rules and the Dinkumware
xwcc.hclass numbering;guest_mathandguest_wide_conversionpass on Linux, and the new test target does not build without the change. The TechnicalDebt entry lists the unverified choices (class numbering on the console'slibc.prx,unsigned intsize argument). Merging.This branch includes the
strtolfix from #3082, so that PR is covered by this one.